![]() |
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hi farshizzo,
I was able to copy your code to produce two different scenes that share the data, but cannot not use viz.add for anything other than text. For example, if I try: #Add ball to scene 2 screen ball = viz.add('white_ball.wrl',parent=viz.SCREEN,scene=2 ) the ball does not appear in the window. How can I add different types of nodes? |
|
#2
|
|||
|
|||
|
Try scaling the ball by a large value such as 1000. You can also add it to the ortho layer:
Code:
ball = viz.add('white_ball.wrl',parent=viz.ORTHO, scene=2)
ball.setPosition([300,300,1])
ball.setScale([100]*3)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|