![]() |
|
#1
|
|||
|
|||
|
Change Viewpoint in different scenes
Good morning,
I want to change the viewpoint from scene to scene. So I want to set in scene1: Code:
viz.MainView.setPosition(0,0,-10) viz.MainView.lookat(0,0,0) Code:
viz.MainView.setPosition(0,4,-7) viz.MainView.lookat(0,7,0) viz.scene( 2 ) This is okay. But if I want to change back to scene1 and make Code:
viz.MainView.setPosition(0,0,-10) viz.MainView.lookat(0,0,0) viz.scene( 1 ) I've tested it with this Code:
print viz.MainView.getPosition() Thanks! |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to track the actual viewpoint | Jerry | Vizard | 3 | 05-25-2016 09:44 AM |
| Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 12:14 PM |
| Avatar w/ hat cannot look at viewpoint | TrashcanPatrol | Vizard | 5 | 08-19-2008 08:26 AM |
| 3d viewpoint movement | spacefarer | Vizard | 9 | 07-25-2006 03:37 PM |
| VRML Viewpoint error | bstankie | Vizard | 1 | 03-11-2003 02:10 PM |