View Full Version : Problems with the lighting of .osgb files

04-22-2017, 01:34 PM
Hi everyone,

For a project I need to use hallways with different lighting intensities in vizard.
The osgb files work correctly when loading only 1 it will display in vizard just as intended, however when trying to load a second hallway with a different light intensity it will display with the same intensity as the first hallway.

So for example, if i have hallway1 with 1 lux and hallway2 with 10lux the following will happen:
-if hallway1 loads first and hallway2 second both will display as a hallway with 1 lux
-if hallway2 loads first and hallway1 second both will display as a hallway with 10 lux

I don't know if it is allowed/possible to share the osgb files because that might make it easier to understand, since even more strange behaviour occured that i don't know how to explain.

The hallways were made in revit and the lighting was baked into texture in 3dsmax, we tried disabling the lights in 3dsmax before exporting to osgb format but this also had no effect.

04-28-2017, 11:40 PM
Can you upload (http://www.worldviz.com/upload/) the models and a simple example script that shows this?