neerajmourya
Newbie
India
Joined: May 19, 2010
Post Count: 9
Status:
Offline
|
|
Re: can anyone help me to know the midpoint of field of view
|
Thanks PuyBaret for reply.
The resources you provided proved helpful for me. I also got solution to my problem under the PhotoRenderer.java:
// Set the point the camera is pointed to Point3 target = new Point3( camera.getX() - (float)(Math.sin(yaw) * pitchCos), camera.getZ() - (float)Math.sin(pitch), camera.getY() + (float)(Math.cos(yaw) * pitchCos)); Vector3 up = new Vector3(0, 1, 0); transform = Matrix4.lookAt(eye, target, up);
I am trying to understand more these classes.
thanks again.
|
[May 25, 2010, 1:34:21 PM]
|
|
[Link]
|
|