Cave car simulation
Hello there,
We are currently working on a school project that includes Vizard and a CAVE, and a WII remote controller. The project contains a city where you can drive through and a car. I have the city working, our problem is however, we need to simulate that the person is driving a car. I found this tutorial : http://docs.worldviz.com/vizard/VizH...d_and_body.htm And it works perfect while you are running it in viz.go. But if i am going to implement it with the CAVE lib, we have the problem that the car is behind and moves separately with the "white" character while they both react on the arrow keys. My question is, how can i get the car simulation working within the CAVE while having the same effect as the tutorial above. (that the car model is moving and turning together with the white character) With regards, Marcel |
You could try linking the cave origin to the car's movements that are updated using the wiimote. Do you also have some type of head tracker so the user can move around within the car?
In the following example a keyboard tracker (wasd keys) is used in place of a head tracker and updates the projection matrices. The arrow keys move the car and the cave origin around the environment: Code:
import viz |
All times are GMT -7. The time now is 07:24 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC