navigation in cave environment
I have a problem by understanding a cave-configuration and navigation respectively. I hope somebody can help me. In my configuration I have one wall (stereo render by two clients), one Polhemus-Fastrak for Head-Tracking and my Keybord for navigation. My Problem is: who can I navigate through my VR-World?
I see a cave-wall like a window by which I see through. Now, when I would like to navigate through my VR-World, in my opinion I have two options: first I can move the Wall an my Viewpoint or second I move the whole world (and my Body\Head is the central point). Who can I do this with Vizard? Code:
import viz |
The position/rotation values you pass to cave.update() need to be in the same coordinate system as the position values used to specify the wall corners. These are usually the physical coordinates from your tracking system.
The position/rotation of the viewpoint is used for navigation through the virtual world. These values have no relation to the physical tracker units. When setting up a cave you should use the raw position of your tracker to measure the wall corners. Then at run-time you pass the raw position of your tracker to the cave.update() function. Your keyboard navigation should NOT affect the position values passed to cave.update(), it should only affect the values used to update viz.MainView. |
Thank you for your reply, it was very helpful.
I have post my new code is it right so? I only set trackeroffset-values and with the keyboard I move my MainViewpoint. It seems like it works correct… Code:
import viz |
You still need to apply the tracking data to the main view. In your UpdateCave function you will need add the tracker position and the vpM together to update the viewpoint.
|
OK fine, now it looks much better…
Code:
import viz Do you have an idea? |
All times are GMT -7. The time now is 02:12 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC