View Single Post
  #1  
Old 02-25-2016, 03:58 PM
makinate makinate is offline
Member
 
Join Date: Dec 2014
Posts: 10
switch off self-illuminating effects of baked textures

Hi,
How do I switch off the self-illumination of a texture?

I created four corridor models in 3ds max. The corridors only differ in lighting conditions, i.e., each corridor has lighter and darker sections but apart from that they are all the same.
I baked the textures in 3ds max and exported each model to OSGB format. I did not export the lights. The exports look fine in the Vizard Inspector.

I then load the models in Vizard. They are all located in the same coordinates with the same orientation. I switch visibility on and off according to how I need, using:

Code:
models['cooridor1'].visible(viz.OFF)
models['cooridor2'].visible(viz.OFF) 
models['cooridor3'].visible(viz.OFF)
models['cooridor4'].visible(viz.OFF)
and
Code:
models['cooridor1'].visible(viz.ON)
models['cooridor2'].visible(viz.ON) 
models['cooridor3'].visible(viz.ON)
models['cooridor4'].visible(viz.ON)
The models become visible or invisible just fine. However, the self illuminating effects from the models are not being switched off when a model becomes invisible. How do I switch them off?

This did not do the trick:
Code:
models['cooridor1'].disable(viz.LIGHTING)
Thanks!
Reply With Quote