WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OSG IVE export 3dmax with baked textures chris_user Vizard 2 04-12-2011 10:33 PM
Multiple Textures for Diffuse and Specularity Shader Issue shivanangel Vizard 1 05-11-2009 10:44 AM


All times are GMT -7. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC