#1
|
|||
|
|||
Problem with navigation trough DK2 Oculus
Hi everybody,
I'm a beginner and I founded a script who link Vizard & Sketchup. When I load the script with the Oculus, it's not possible to use the mouse/keyboard for the navigation "vizcam.WalkNavigate()". I can only view the scene but no moving. But when I disable the HMD in the script, I can navigate without problem on my 2 monitors. Someone can explain me why I lost the navigation trough the HMD and how I can I resolve this problem? Thanks in advance at everybody who can try to help me! SCRIPT : import viz import oculus import vizcam import vizfx viz.go(viz.FULLSCREEN) #add Oculus as HMD hmd = oculus.Rift() viz.link(hmd.getSensor(), viz.MainView) #add keyboard navigation vizcam.WalkNavigate() #add model vizfx.addChild('Grenier Version chouke.osgb') #add environment viz.addChild('sky_day.osgb') #create a sunlight sun = vizfx.addDirectionalLight() sun.color(1.0,1.0,0.8275) sun.setEuler(90,90,0) viz.go() |
#2
|
|||
|
|||
When you link the viewpoint to the tracker the link overrides any other commands applied to the viewpoint.
Take a look at vizconnect and the Oculus desktop option in the preset configurations menu. You can also create your own configuration from the advanced menu using oculus for head tracking and a transport to move around with desktop controls. The vizconnect tutorials will show you how to use vizconnect. |
#3
|
|||
|
|||
Thank you. It work now. :)
Indeed, it's a very simple way to do that. Thanks a lot again...
|
Tags |
navigation, oculus rift, problem |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Oculus DK1 and DK2 in Vizard 5 | Jeff | Vizard | 3 | 10-02-2014 12:00 PM |
Oculus Rift connection problem | mshukun | Vizard | 1 | 10-01-2014 01:15 PM |
Navigation problem | JimC | Vizard | 3 | 02-13-2014 06:44 AM |
Some Problem in navigation | ssaha | Vizard | 3 | 03-24-2010 02:21 PM |