Tutorial: reflections
By olivS, dimanche 26 décembre 2004 à 19:50 :: Blender tutorials :: #6 :: rss :: PDF

In the past, Blender used EnvMaps (environmental maps) in order to simulate the reflectiveness of objects. But this way was quite difficult, needing the use of Empties (null objects) and layers when a simple reflecting plane was needed. Fortunately, including Raytracing into the renderer eased the whole process and helped to achieve a greater realism.
Fichier(s) attaché(s) :
For Blender: 2.32 - Version française disponible(
)
Preliminaries
As well as anything related to raytracing with Blender, because of the supplementary calculus time required by your computer, raytracing is only an option that you should feel free to activate and deactivate. This is done by the mean of the Scene menu (F10 key). The Render tab shows a button labeled Ray you will have to activate in order to use raytracing in your pictures. If you do so, you can deactivate the EnvMap button, even if this one shouldn't bother you if you don't.

The Mirror Transp tab
This tab is divided into two parts, the first one being about reflection (Ray Mirror) and the second being about transparency(Ray Transp). We will pay attention to the first one, here. When activating the Ray Mirror button, you can make use of reflection options for the shader of your object. Its surface will reflect its environment at rendering time; the other buttons and sliders are here to help you controling this reflectiveness.

RayMir:
By default, this value is set to 0.00, which is no reflection at all. By increasing this value up to the maximum (1.00), your object will have the same reflectivity as a perfectly polished mirror. Please note that the reflected colors are strictly those of the original environment, whatever is the base color of your object.
Depth:
In our reality, reflecting objects located near each other will reflect themselves up to infinity, and it is possible to spot in the reflects of one, the reflects of the others. Unfortunately, this behavior will require an infinite time of calculus to reproduce. Most of the time, you only need a recursivity level of two or three to get visually attractive results; because of this, the default value is set to 2. Beware: if you foolishly increase the value of this parameter, you will suffer from from drastically longer rendering time if you have many reflective objects in your scene.
Fresnel:
Let's undertake a small experimentation in order to understand this parameter. After a rainy day, go out and stand over a puddle of water. You can see the ground under the puddle. Now, please kneel just in front of the puddle, your face close to the ground, and look again at the puddle of water. The liquid surface part which is closer to you lets you see the ground, but if you move your glance toward the other end of the puddle, then the ground is gradually masked until all you see id the reflection of the sky. This is the Fresnel effect, and this option sets how much of the surface is effected by it; with a 0.0 value, the surface is 100% reflective, even if the casual observer is glancing from above, and with a 1.0 value, it shows only the natural shader of the object.
Fac
This option sets the intensity of the Fresnel effect.
Fresnel effect example
The animated picture below shows many reflecting objects: two spheres and a cube, but most of all, a transparent water plane on which we will apply the Fresnel Parameters: Fresnel 1.00 and Fac: 1.50. It shows quite well the Fresnel effect: when the angle of view of the camera is close to the angle of the horizontal plane, then we can only barely spot the ground and on the counterpart, we see easily the reflection of the sky on the liquid. But when the camera is at the apex of the water plane, it's mainly the ground of the puddle that can be seen.

Check the attached files in order to download the source file.
Colored reflections
In the Shading menu (F5 key), the Material tab lets you define the color effects of three distincts properties: Col simply colors your object; Spe rather gives a hue to the specular spots on the object; finally, Mir gives a slight color to the reflexion of the object. By default, Mir is pure white, which is quite perfect for chrome effects.

This way, if you'd prefer that your object looks like gold rather than chrome, then you will have to adjust the Col, Spe and Mir properties more accordingly for such a material.

The result is rather obvious:









Comments
1. On dimanche 2 janvier 2005 à 18:09, by fxd
2. On mardi 4 janvier 2005 à 19:50, by olivS
3. On vendredi 7 janvier 2005 à 04:28, by nebx
4. On lundi 10 janvier 2005 à 14:42, by KaMui
5. On samedi 15 janvier 2005 à 19:27, by sERIAL
6. On dimanche 16 janvier 2005 à 19:57, by tekila
7. On dimanche 16 janvier 2005 à 21:31, by olivS
8. On lundi 17 janvier 2005 à 15:49, by Tekila
9. On jeudi 27 janvier 2005 à 05:48, by Dark Lodr Satan
10. On mardi 1 février 2005 à 16:36, by freakezoid
11. On mardi 1 février 2005 à 22:01, by olivS
12. On mardi 8 février 2005 à 12:51, by freakezoid
13. On jeudi 10 février 2005 à 22:27, by jack
14. On dimanche 13 février 2005 à 23:50, by Gheric
15. On vendredi 18 février 2005 à 18:48, by DRF
16. On mercredi 9 mars 2005 à 12:01, by Fabian
17. On vendredi 22 avril 2005 à 18:11, by Paul
18. On mercredi 27 avril 2005 à 21:11, by Smithers
19. On mardi 3 mai 2005 à 04:57, by Whodathunkuvit
20. On lundi 22 août 2005 à 07:30, by noodlem4n
21. On vendredi 26 août 2005 à 23:36, by olivS
22. On lundi 29 août 2005 à 13:40, by chris-harry
23. On lundi 8 mai 2006 à 20:33, by :)
24. On lundi 8 mai 2006 à 20:58, by olivS
25. On vendredi 2 juin 2006 à 16:55, by Ludovic
26. On vendredi 2 juin 2006 à 21:11, by olivS
27. On mercredi 22 novembre 2006 à 05:00, by wet plane
28. On mercredi 22 novembre 2006 à 22:29, by olivS
29. On jeudi 23 novembre 2006 à 20:37, by Daniel
30. On vendredi 5 janvier 2007 à 19:12, by mad guy
31. On mercredi 10 janvier 2007 à 05:25, by Miki
32. On vendredi 19 janvier 2007 à 20:22, by drkgeek
33. On vendredi 16 février 2007 à 17:09, by nick
34. On lundi 26 février 2007 à 23:54, by kyle
35. On dimanche 11 mars 2007 à 16:10, by LizZard
36. On vendredi 30 mars 2007 à 18:14, by pidou46
37. On mardi 1 mai 2007 à 15:56, by nefaria
38. On mercredi 30 mai 2007 à 04:38, by Paul
39. On vendredi 1 juin 2007 à 18:02, by prolificdrummer
40. On jeudi 26 juillet 2007 à 21:22, by archis
Réponse de olivS le mercredi 15 août 2007 à 11:44
41. On vendredi 10 août 2007 à 08:04, by Nilupul
42. On vendredi 17 août 2007 à 06:41, by Killprogram
Réponse de olivS le vendredi 17 août 2007 à 11:15
43. On mercredi 19 décembre 2007 à 13:19, by Treva
Réponse de olivS le vendredi 21 décembre 2007 à 16:27
44. On jeudi 17 janvier 2008 à 20:09, by womble
45. On jeudi 21 février 2008 à 16:36, by Hal Barker Ak: Qwillpen
46. On mercredi 5 mars 2008 à 16:39, by arrangeur
47. On lundi 24 mars 2008 à 19:53, by shinta
48. On jeudi 3 avril 2008 à 05:18, by Joleo
Réponse de olivS le mardi 22 avril 2008 à 21:33
49. On mardi 29 avril 2008 à 14:13, by swift
50. On mardi 3 juin 2008 à 00:39, by drew
51. On mardi 22 juillet 2008 à 11:19, by EiNsTeIn's SoUl
Add a comment