#4
|
|||
|
|||
For headlights, using the projector plugin will give the best effect. Check out this code and the attached .jpg
Code:
import viz viz.go() model = viz.add('tankmaze.wrl') import projector left = projector.add(viz.add('spotlight.bmp')) left.border(0.3,0.3,0.3) left.translate(-1,1.8,0) left.affect(model) right = projector.add(viz.add('spotlight.bmp')) right.border(0.3,0.3,0.3) right.translate(1,1.8,0) right.affect(model,2) viz.link(viz.MainView, left) viz.link(viz.MainView, right)
__________________
Paul Elliott WorldViz LLC |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lighting Question | new_horizon | Vizard | 12 | 02-24-2011 08:11 AM |
question about NVIDIA 3D vision | Weihua An | Vizard | 5 | 08-02-2010 06:49 AM |
Stereoscopic view question | atamasan | Vizard | 2 | 03-09-2010 09:13 PM |
how to invoke command line question | billjarrold | Vizard | 2 | 01-11-2010 08:51 AM |
General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 10:15 AM |