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() |
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. |
Thank you. It work now. :)
Indeed, it's a very simple way to do that. Thanks a lot again... ;)
|
All times are GMT -7. The time now is 07:14 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC