I’m experiencing an issue with lights in the Raytraced viewport in Rhino 6. Toggling between display modes causes lights not to effect the the scene. Toggling the layer where your lights reside off and back on will push them back into the scene. Unfortunately, I am never able to get lights to effect the scene when using _ViewCaptureToFile. This is super annoying. Functionality is better in Rhino 7 WIP…but sometimes the lights break. I am able to use lights with _ViewCaptureToFile in the WIP, though.
OK - here, I can turn on and off the layers and the lights in the lights panel and see the change in the raytraced vp - you do not see that, if I understand. Maybe I need a for dummies blow-by-blow to repeat…
Toggle the layer containing lights off and back on and this resets the lights in the scene. Modifying the intensity of the light will also push the light back into the scene. Most importantly, lights never work when outputting images through _ViewCaptureToFile.
Can you switch away from all Raytraced viewports, then go to Tools > Options > Cycles and click the Restore Defaults button, then go to Tools > Options > Views > Display Modes and reset the Raytraced mode? Any improvement?
I can’t repeat the behavior myself as you describe it.
I neglected to mention that I have Raytrace mode set to ambient occlusion instead of the default scene lighting. Any lighting method setting other than the default setting causes this issue. Scene lighting doesn’t cut it for the more complex model that I cannot share publicly. Are you able to reproduce this issue by changing the lighting method in Raytrace mode?
Just sent over two examples. One model with ambient occlusion and one with scene lighting. My team is collectively working on many iterations of building(s), and outputting renders from the same camera view. They all contain different levels of porosity and surrounding context thus the scene lighting is not a one-size-fits-all lighting solution. With scene lighting, each model’s lighting would have to be fine-tuned to get the same result each time. I have found that with Raytrace mode + ambient occlusion, I am able to get a consistent and homogeneous result in the least amount of time. The lights are critical because they brighten up the interiors.
This might be a niche situation but I do feel there is a bug in here since the lights work with AO sometimes and not others (such as when outputting images with _ViewCaptureToFile.) I’m open to solutions that use the scene lighting but I feel like I’d be back to my original issue of needing to fine-tune each model.
Anyway, with Ambient Lighting selected the following things happen:
Existing lights don’t work when starting the raytraced viewport - due to the display mode setting the underlying changequeue mechanism doesn’t pass the lights on
Skylight is turnedon and set to be the single color of the background (solid color)
That is essentially what ambient lighting is: global illumination, which is done with the skylight.
I noticed though that adding lights after changing to Raytraced has the changequeue still send them along. This adds to the confusion and causes what you are seeing.
To do it “the right way” you should keep Raytraced on Scene Lighting. Further set Skylight to a custom environment that has only the solid color set, same as the background solid color in the rendering panel. Now you should get global illumination (ambient lighting) as you get with the tweaked display mode, with the additional benefit of having your scene lights work.
@nathanletwory Thanks! Setting skylight to a custom environment with color same as the background in the rendering panel did the trick. I’m going to read up on GI and ambient occlusion because I’ve always thought of them as separate concepts.
Can someone screenshot ,which two settings need to be the same? Is it the Backdrop as solid colour setting, or 360 environment and skylight custom environment. And how do you select custom environment with a colour, is that Basic Environments, or No environment setup?
@oskars.pantelejevs, if you mean to have the skylight use the same solid color as the backdrop color under the skylight section in Rendering panel add check custom environment, and add a new basic environment. For the basic environment set the same background color as you have in the backdrop.