![]() |
|
#4
|
|||
|
|||
|
Try passing different values into the emissive command. Does something like this work for you?
Code:
import viz
viz.go()
male = viz.add('vcc_male.cfg',pos=[0,0,5],euler=[180,0,0])
male.state(1)
headLight = viz.MainView.getHeadLight()
headLight.disable()
slider = viz.addSlider()
slider.setPosition(0.2,0.2)
def changeLight(pos):
male.emissive([pos]*3)
vizact.onslider(slider,changeLight)
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Realistic Light and Shadows Using Vizard and 3DS Max | jde | Vizard | 4 | 07-13-2012 11:58 AM |
| lighting and on-the-fly objects | michaelrepucci | Vizard | 12 | 02-11-2011 09:26 AM |
| General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 11:15 AM |
| Basic Joystick Navigation Question | Plasma | Vizard | 2 | 01-29-2004 08:08 PM |
| Vizard 2.0x lighting | FlyingWren | Vizard | 4 | 08-11-2003 01:20 PM |