WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-31-2014, 07:28 AM
smat smat is offline
Member
 
Join Date: Jan 2014
Posts: 1
unlinking view from HMD

Hi,

I'm completely new to Vizard, and do also have only limited knowledge about python programming. But I hope you can help me with the following problem.

I use an Oculus HMD together with my virtual environment, and the view-angle within the environment is automatically adapted to the input of the Oculus-gyroscope. So if you wear the HMD and you turn your head, the viewing direction within the virtual environment turns too.

This is realized by the following code:

Code:
hmd = oculus.Rift()
sensor = hmd.getSensor()
viz.link(hmd.getSensor(), viz.MainView)
However, here is the problem: In my scenario, it should be possible to temporarily "unlink" the viewing-angle from the HMD-input. While in some situations in the scenario the user should be able to "look around" and change the viewing angle by moving the HMD, in other situations, looking around should not be possible and the viewing angle should not change when the user moves/turns the HMD (because during this period of time, the viewing angle is passively changed, and should not be alterable by the user). In other words: I am looking for a way to "turn on" (use) and "turn off" (ignore) the oculus input multiple times within my scenario.

Is there any way of "unlinking" the view from the oculus for a limited period of time within the scenario?

Thank you very much in advance!
Best,
Matthias
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Freeform view on an animated object problem jaylocco Vizard 2 06-08-2009 08:09 PM
View nlfrnassimi Vizard 0 03-17-2009 02:01 AM
View nlfrnassimi Vizard 4 03-12-2009 05:25 AM
problem with stereo mode shivanangel Vizard 3 10-17-2006 09:58 AM
keeping a 3d object in front of the view tavaksai Vizard 1 07-07-2004 09:33 AM


All times are GMT -7. The time now is 04:44 PM.


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