WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-06-2014, 11:24 AM
vantsal vantsal is offline
Member
 
Join Date: Sep 2014
Posts: 3
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()
Reply With Quote
  #2  
Old 10-06-2014, 05:02 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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.
Reply With Quote
  #3  
Old 12-11-2014, 04:18 AM
vantsal vantsal is offline
Member
 
Join Date: Sep 2014
Posts: 3
Thank you. It work now. :)

Indeed, it's a very simple way to do that. Thanks a lot again...
Reply With Quote
Reply

Tags
navigation, oculus rift, problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 01:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC