This is probably a newbie question, but you gave me a camera mount, but where’s the Camera class?
I’m using it like this, and it isn’t doing anything…please tell me what I’m doing wrong:
cameraMount = new CameraMount();
Vector3f translate = new Vector3f();
Transform3D T3D = new Transform3D();
translate.set(10.0f, 7.5f, 50.0f);
T3D.setTranslation(translate);
cameraMount.setTransform(T3D);
cameraMount.compile();
universe.addBranchGraph(cameraMount);
By the way, I don’t know if this is a related or unrelated question, but how I think the default view is to have the origin be drawn at the center of the canvas. Is there a way so that when an object is placed onto the canvas, the origin is painted at the bottom-left corner of the canvas? I’ve tried toying around with the different ViewPolicy’s, but can’t seem to find one that does that.
The reason I’m asking is that I want to look straight down the z-axis, but I think if I change the view around (either manually or with the camera), I can have the view positioned such that the origin is at the bottom-left, but it gets skewed such that I am no longer looking straight down the z-axis.
Again, thanks for the help,
DAT