Page 1 of 1

Illuminating your model

Posted: Tue Jul 17, 2012 7:24 pm
by Support
This tutorial will explain different ways to illuminate your model. It is broken down into different scenarios...

Photontrace will produce true illumination, true shadows, true caustics and color bleeding, for any kind of lights, big or small, sun and sky, indoor and outdoor. It is also slower than Pathtrace and Raytrace but it is 100% photorealistic, with Pathtrace being second best when not using Direct Illumination and Raytrace third best.

1. Using artificial lights only.

a. Raytrace: using Fast shadows for indoor view will most likely give you the fastest results if you have lights shining just about everywhere. But for spot lights with narrower angles and a lot of areas not getting any direct illumination from any lights, such as viewing from outdoor, True shadows should be used for more realistic shadows.

b. Pathtrace: use Direct illumination when using small lights such as pot lights, desk lamps etc. But if you have big area lights, like in offices (no small lights), you can turn off direct illumination and get true caustics from glass such as bottles. Enabling Direct Illumination tells Raylectron to sample every lights as oppose to randomly hit a light source when sampling. You should also select 'Enable shadow' unless you want black shadows for special effects. Some color bleeding occurs when using direct illumination, but true color bleeding occurs when not using direct illumination.

2. Using the Sun and Sky.

In many cases, you will need to adjust the sun and sky intensity in the Render settings.

a. Raytrace: using True shadows for outdoor scenes will give you very good results, and fast. For indoor scenes, using Fast shadows is faster but not recommended. Your should experiment to see which is good enough for your project.

b. Pathtrace: It is imperative to use Direct illumination. The sun is too small viewed from the earth and random sampling will rarely hit the sun, just like small lights as explained in 1b. Some caustics and color bleeding will occur, but not as perfect as with Photontrace.

3. Environment maps.

You may adjust the intensity the map generate in the Render option.

a. Raytrace: Not recommended. Use Pathtrace instead, but Raytrace and True shadows will give the same result at about the same speed.

b. Pathtrace: Do not select Direct illumination as the light source is only from the environment map. But, if you turn on the sun, you need to use Direct illumination. For artificial lights, the same rule as in 1b applies.

c. Photontrace: Not recommended for speed. Use Pathtrace instead, it is faster and generate the same result.

4. Ambient occlusion.

This only apply to Raytrace mode. Use this If you have no lights, no sky and no sun. Or, if you have any light sources, you can provide nice shadows, but they will not match shadows from spot lights for example. As its name implies, ambient occlusion determine how dark a shadow is based on how visible the area is from the surrounding.

You may also set the distance of the farthest occlusion possible in the Lighting settings.

This conclude the tutorial. If you have any questions, comments or anything you wish added, please let use know.

Re: Illuminating your model

Posted: Thu May 16, 2019 3:37 am
by beyhansa
Hello, I am new at raylectron and I installed Raylectron V4,99. I can't see Raytrace, Pathtrace and Photontrace selections in the software. Could you help me?

Re: Illuminating your model

Posted: Thu May 16, 2019 9:21 am
by Support
These features are for v3 only and since, we have v4.