@Egon:
I've written my own CameraControl-Class, that aggregates the jpct-Cam and do all the translation- / rotation-tracking, storing, modifying fun. But that all starts with initializing the jpct-Cam, that goes something like this:
... where "this.cam" is the jpct-Cam.
Point is: "setOrientation" does not have any effect at the "up-Vector" argument.
I could also write:
or
or
or whatever without any behavior-changes to the camera. What do I misunderstand here?
I've written my own CameraControl-Class, that aggregates the jpct-Cam and do all the translation- / rotation-tracking, storing, modifying fun. But that all starts with initializing the jpct-Cam, that goes something like this:
Code Select
// Initialize camera object
this.cam = cam;
this.camPosition = camPosition;
this.cam.setOrientation(new SimpleVector(0.0f, 0.0f, 1.0f), new SimpleVector(0.0f, 1.0f, 0.0f));
this.cam.setPosition(this.camPosition);
... where "this.cam" is the jpct-Cam.
Point is: "setOrientation" does not have any effect at the "up-Vector" argument.
I could also write:
Code Select
this.cam.setOrientation(new SimpleVector(0.0f, 0.0f, 1.0f), new SimpleVector(0.0f, 0.0f, 0.0f));
or
Code Select
this.cam.setOrientation(new SimpleVector(0.0f, 0.0f, 1.0f), new SimpleVector(0.0f, -1.0f, 0.0f));
or
Code Select
this.cam.setOrientation(new SimpleVector(0.0f, 0.0f, 1.0f), new SimpleVector(1.0f, 0.0f, 0.0f));
or whatever without any behavior-changes to the camera. What do I misunderstand here?