I have the following problem:
I created an .exe file I want to run on three computers, which should
show a souround image, i.e. the screen in front of me should show the
wall straight ahead, the screen on the left the left wall and the
screen on the right the right wall.
Now for the wall straight ahead I just used the following code:
myCamera->orientation.setValue(1.0, 0.0, 0.0, 1.0);
This orientation gives me a view straight ahead on my path, rather
than a top view onto my world as no orientation would deliver.
The problem now is, that additionally to this orientation I need for
the other views an orientation around the y -axis. But if I combine
these two orientations I just get a tilted orientation.
So what I really need is first an orientation to get the view straight
ahead and then a rotation around the y-axis unlinked to the other
orientation.
Does anyone know how to solve this problem?
thanks in advance!


|