Dark room illuminated by flashlight?
I'm having some strange issues with lighting.
My goal is to create a perfectly dark room that can be illuminated with a directional spotlight / flashlight. However, I'm unable to get started, because I can't turn off lighting in the room! The room is empty, and consists of only 6 textured walls (this includes the ceiling and floor). I've set both the ambient and emissive properties of each wall to [0,0,0]. Yes, the headlamp has been deactivated, and no, I am not creating any other light sources. The walls still appear uniformly illuminated. What am I missing? The next step will be to make sure that the planes are tesselated enough to produce smooth shading until spot illumination. Is jumping into Maya / 3Ds Max the best way to do this? Is there a clever way to subdivide planes in the code? Thanks. |
Does the following line of code help to darken the room?
Code:
room.appearance(viz.MODULATE) |
Ah, rookie mistake here. Viz.lighting was off.
Thanks! |
All times are GMT -7. The time now is 08:48 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC