![]() |
|
|
|
#1
|
|||
|
|||
|
Objects attached to the head will behave differently in stereo. If you want the separation to be computed similar to objects added to viz.WORLD, then you can link the object to the viewpoint instead. Here is some sample code:
Code:
import viz
viz.go(viz.ANAGLYPHIC)
viz.MainView.setPosition(0,0,0)
leftNode = viz.add('ball.wrl',pos=(-1,0,5))
rightNode = viz.add('ball.wrl')
viewLink = viz.link(viz.MainView,rightNode)
viewLink.preTrans([1,0,5])
|
|
#2
|
|||
|
|||
|
Thank you for your solution: this will do it for me.
But why is the stereo representation different when attaching objects to the head? Is this because of head mounted displays to keep the visible object always in front of the user? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vizard 2.5 Stereoscopic | asfammlab | Vizard | 3 | 05-21-2007 06:06 PM |
| Stereoscopic Vizard Question | mikestatic | Vizard | 7 | 03-20-2006 02:36 PM |