Outils pour utilisateurs

Outils du site


issue71:blender

Table des matières

1

Textures and materials are very crucial. Without them, for example, what we have created so far is a grey snowman, with a grey nose, grey hands and a grey hat. Not so realistic. So, materials and textures is a way to add realism to the look of our models with images, plain colors, etc. You must have a material to apply a texture on it (by default blender adds a material to your objects in order to see their surfaces). So, for this month we will introduce materials – leaving textures for next month, as it is impossible to fit them both in an article. But, before anything else, let’s upgrade blender. A new release (2.66a) is available at http://www.blender.org/download/get-blender/ with a bunch of new features and over 250 bugfixes.

Textures et matières sont très importants. Sans eux, par exemple, nous n'avons créé jusqu'ici qu'un bonhomme de neige gris, avec un nez gris, des mains grises et un chapeau gris. Pas tellement réaliste. Aussi, les matériaux et textures sont un moyen d'ajouter du réalisme à l'apparence de nos modèles avec des images, des couleurs simples, etc.

Vous devez disposer d'un matériau pour appliquer une texture dessus (par défaut blender ajoute un matériau à vos objets afin de voir leurs surfaces).

Donc, ce mois-ci, nous allons introduire les matériaux - les textures seront pour le mois prochain, car il est impossible de parler des deux dans un article.

Mais, avant toute chose, nous allons mettre à jour blender. Une nouvelle version (la 2.66a) est disponible sur http://www.blender.org/download/get-blender/ avec un tas de nouvelles fonctionnalités et plus de 250 corrections de bogues.

2

Let’s load the snowman blend file that we created last month. It has to look something like this in object mode (shown below). Notice the small icons at the right of your 3D view window. The fourth icon from the right (highlighted) is the Materials tab. Select the hat and press the New button: Name your material “Hat”. Your material tab has to look something like the one shown right.

Chargeons le fichier du bonhomme de neige que nous avons créé le mois dernier. Il doit ressembler à ceci en mode objet (voir ci-dessous).

Remarquez les petites icônes à droite de votre fenêtre de vue 3D. La quatrième icône depuis la droite (en surbrillance) est l'onglet Matériau.

Sélectionnez le chapeau et appuyez sur le bouton Nouveau : Nommez votre matériau « Chapeau ». Votre onglet matériau doit ressembler à celui illustré à droite.

3

As you can see, there are a lot of things that we can tweak, but we will introduce the very basics to create a kind of realistic environment (maybe, in a later stage of this article-series, we can focus on materials and textures explaining all in detail, but, for now, feel free to experiment with those). Blender gives us a preview window where we can inspect the color of our material. Also, on the right, we can change the basic object that we are previewing (this doesn't affect our object at all, but helps us to understand how the color looks – for example on spheres or boxes). Under Diffuse, there is a white strip. Press with your LMB (Left Mouse Button) on it to change the color. Select the color of your choice from the color wheel, or enter manually the values of Red, Green and Blue below the wheel, or you can use the color picker – well known from other graphic applications.

Comme vous pouvez le voir, il y a beaucoup de choses que nous pouvons régler, mais je vais vous présenter les bases pour créer une sorte d'environnement réaliste (peut-être, à un stade ultérieur de cette série d'articles, nous pourrons nous concentrer sur les matériaux et textures en expliquant tout en détail, mais, pour l'instant, n'hésitez pas à expérimenter).

Blender nous donne une fenêtre de prévisualisation où nous pouvons vérifier la couleur de notre matériau. En outre, sur la droite, nous pouvons changer l'objet de base dont nous voulons un aperçu (cela n'affecte pas du tout notre objet, mais nous aide à comprendre comment la couleur ressort - par exemple sur des sphères ou des boîtes).

Sous « Diffuse », il y a une bande blanche. Appuyez dessus avec le BGS (bouton gauche de la souris) pour changer la couleur. Choisissez une couleur à partir de la roue des couleurs, ou entrez manuellement les valeurs de rouge, vert et bleu en dessous de la roue, ou vous pouvez utiliser le sélecteur de couleurs - bien connu dans d'autres applications graphiques.

4

You can use the HSV button to choose your color by Hue Saturation and Value, or you can use the Hexadecimal numbers that are commonly used on web pages to specify colors. I personally use only the RGB values. The values can vary from 0 to 1 indicating the percentage of the color (0.2 = 20% for example). On the right of the wheel there is a slider controlling the intensity of the color. If you slide it all the way down we have absolute black. Also notice that values of Red, Green and Blue are all changed to 0. Under Specular, there is also a white strip. From there we choose the color of the reflection on shining objects. For example choose for diffuse: color Red = 0.015, Green = 0, Blue = 0.24, and for specular: Red = 0.915, Green = 1, Blue = 0. Also on the preview window, change the basic object to monkey. Looks like the image below?

Vous pouvez utiliser le bouton HSV pour choisir votre couleur par Teinte (Hue, d'où le H) Saturation et Valeur, ou vous pouvez utiliser les nombres hexadécimaux qui sont couramment utilisés sur les pages Web pour spécifier les couleurs. Personnellement, j'utilise uniquement les valeurs RVB. Les valeurs peuvent varier de 0 à 1, indiquant le pourcentage de la couleur (0,2 = 20% par exemple).

Sur la droite de la roue il y a un ascenseur pour choisir l'intensité de la couleur. Si vous le faites glisser tout en bas, nous avons un noir absolu. Notez également que les valeurs de rouge, vert et bleu sont toutes passées à 0.

Sous « Spéculaire », il y a une autre bande blanche. Là, nous choisissons la couleur de la réflexion sur les objets brillants. Par exemple choisissez pour Diffuse : rouge = 0,015, vert = 0, bleu = 0,24 et pour Spéculaire : rouge = 0,915, vert = 1, bleu = 0. Également dans la fenêtre de prévisualisation, modifiez l'objet de base en singe.

Ça ressemble à l'image ci-dessous ?

5

NOTE: The monkey of blender is actually a chimpanzee, called Suzanne. This 3d mode, created by Willem-Paul van Overbruggen, was introduced to the blender community as a test model for materials, textures, lights, etc. The Suzanne awards (something like the Oscars awards) are held annually for blender artists. http://en.wikipedia.org/wiki/Suzanne_Award Now, let’s go back to our snowman. Reload the snowman.blend file, select the plane that we use as ground and LMB on the material tab. Press New to create a new material and rename it from “Material” to “Ground”.

NOTE : Le singe de blender est en fait un chimpanzé, appelé Suzanne. Ce mode 3D​​, créé par Willem-Paul van Overbruggen, a été présenté à la communauté blender comme un modèle de test pour les matériaux, les textures, les lumières, etc. Le prix Suzanne (quelque chose comme les Oscars) est organisé chaque année pour les artistes blender. http://en.wikipedia.org/wiki/Suzanne_Award

Maintenant, revenons à notre bonhomme de neige. Rechargez le fichier snowman.blend, sélectionnez le plan que nous utilisons comme sol et BGS sur l'onglet matériau.

Appuyez sur Nouveau pour créer un nouveau matériau et renommez-le de « Matériau » à « Sol ».

6

Under Diffuse, press LMB on the white strip and put the values 0.5 for Red and Blue and 0.8 for Green. On the 3d view window, you can see that the color of the ground changes to a green looking surface. Select one button of the snowman, and press the new Button on the material tab. Name it “Button”, and, under Diffuse, color it red (by now you must know the way to do that, but, in case you don't, just put R = 1, G and B to 0): Now, with your RMB, select another button of the snowman. Under the material tab, you can see the New button that we used earlier to create a new material. Left of this there is an icon similar to the “materials” one in blender.

Sous Diffuse, utilisez BGS sur la bande blanche et indiquez les valeurs de 0,5 pour le rouge et le bleu et 0,8 pour le vert. Dans la fenêtre de vue 3D, vous pouvez voir que le sol se change en une surface d'aspect vert.

Sélectionnez un bouton du bonhomme de neige et appuyez sur le bouton Nouveau de l'onglet Matériau. Nommez-le « Bouton » et colorez-le en rouge sous Diffuse (maintenant vous devez savoir le faire, mais dans le cas où vous ne savez pas, il suffit de mettre R = 1, V et B = 0) :

Maintenant, avec votre BDS, sélectionnez un autre bouton du bonhomme de neige. Sous l'onglet Matériau, vous pouvez voir le bouton Nouveau que nous avons utilisé plus tôt pour créer un nouveau matériau. À sa gauche, se trouve une icône semblable à celle des « Matériaux » dans blender.

7

Press it and select Button from the list: The materials that we create are stored for later use in the blend file, and many different objects can share the same material. Keeping that in mind, create materials for the hands, the hat, the nose, and the pipe. Also assign the Button material to the other buttons, or create a new material for each button if you like. For the hat I created a material with a Halo behavior – just to make a Saint snowman with two Halos!!!! Very Saint!

Cliquez dessus et sélectionnez Bouton dans la liste :

Les matériaux que nous créons sont stockés pour une utilisation ultérieure dans le fichier blender et de nombreux objets différents peuvent partager le même matériau.

En gardant cela à l'esprit, créez des matériaux pour les mains, le chapeau, le nez et la pipe. Attribuez également le matériau Bouton aux autres boutons, ou créez un nouveau matériau pour chaque bouton si vous voulez.

Pour le chapeau, j'ai créé un matériau avec un comportement de halo - juste pour faire un saint bonhomme de neige avec deux auréoles !!!! Très saint !

8

You can experiment with the other two kinds of materials behavior: Wire and Volume. For this month, I recommend that you download and play a game created in blender with the blender game engine. Yo frankie! http://www.yofrankie.org/ Also you can check out blenderguru.com. A site dedicated to blender, with a lot of tutorials for beginner and advanced users, created and hosted by Andrew Price, a very talented blender artist. Enjoy. http://www.blenderguru.com

Vous pouvez expérimenter avec les deux autres types de comportement des matériaux : fil de fer et volume.

Pour ce mois-ci, je vous recommande de télécharger et de jouer à un jeu créé dans blender avec le moteur de jeu de blender. Yo Frankie ! http://www.yofrankie.org/

Vous pouvez aussi consulter blenderguru.com, un site dédié à blender, avec beaucoup de tutoriels pour débutants et utilisateurs avancés, créé et animé par Andrew Price, un artiste blender très talentueux. Amusez-vous bien. http://www.blenderguru.com

issue71/blender.txt · Dernière modification : 2013/05/30 14:39 de andre_domenech