#1
|
|||
|
|||
Light parents in funny scenes
I'm setting the parent of a light to a node in scene2. The light does not illuminate the scene.
Code:
import viz viz.go() SIM_SCENE = viz.Scene2 viz.scene(SIM_SCENE) viz.MainView.getHeadLight().disable() worldInAnotherScene = viz.addGroup(parent=viz.WORLD, scene=SIM_SCENE) mylight = viz.add(viz.LIGHT, parent=worldInAnotherScene) viz.add('female.cfg', parent=worldInAnotherScene )
__________________
Paul Elliott WorldViz LLC |
#2
|
|||
|
|||
Try specifying the scene that you want the light to affect when adding it:
Code:
mylight = viz.addLight(parent=worldInAnotherScene, scene=SIM_SCENE) |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arranging Scenes in Correct Order | utepbereed | Vizard | 1 | 11-21-2008 10:19 AM |
Funny morphs with 3DMeNow/PeopleMaker | vmerget | Vizard | 3 | 04-13-2005 10:43 AM |