Re: [osg-users] Camera Behavior

2010-04-07 Thread Alberto Luaces
John Galt writes: In the left window, the camera is supposed to be fixed at a point and only rotate about Z axis. How ever it seems to me like the camera while rotating about the Zaxis is also revolving in an orbit about the point (0,0,2). That's the thing that I'm not sure about. Can you

Re: [osg-users] Camera Behavior

2010-04-06 Thread Alberto Luaces
John Galt writes: Even if that is the case, Believe me, it is: http://www.opengl.org/wiki/GluLookAt_code when my eye is fixed and center is changing, should I see the view as a camera that is rotating about a fixed point? Why is it that I am seeing the camera rotate about a moving point? I

Re: [osg-users] Camera Behavior

2010-04-06 Thread John Galt
Hi, Here's the video of what is happening with my camera: http://www.youtube.com/watch?v=_7tfZuRgyYE Thank you! Cheers, John -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26494#26494 ___

Re: [osg-users] Camera Behavior

2010-04-06 Thread Alberto Luaces
John Galt writes: Here's the video of what is happening with my camera: http://www.youtube.com/watch?v=_7tfZuRgyYE Difficult to say... The camera seems to be moving properly, since the doll is being rotated accordingly. The white and blue colors could be a clipping issue with a plane at Z=0.

Re: [osg-users] Camera Behavior

2010-04-06 Thread John Galt
Alberto Luaces wrote: John Galt writes: Here's the video of what is happening with my camera: http://www.youtube.com/watch?v=_7tfZuRgyYE Difficult to say... The camera seems to be moving properly, since the doll is being rotated accordingly. The white and blue colors could be a

Re: [osg-users] Camera Behavior

2010-04-05 Thread Alberto Luaces
John Galt writes: Hi, I have setup my view as view-getCamera()-setViewMatrixAsLookAt(eye, center, up); eye, center and up are osg::Vec3 elements. I have my eye and up as constant. When I change my center vector, the Camera's position is changing! Can anyone explain why? Shouldn't the

Re: [osg-users] Camera Behavior

2010-04-05 Thread John Galt
Alberto Luaces wrote: John Galt writes: Hi, I have setup my view as view-getCamera()-setViewMatrixAsLookAt(eye, center, up); eye, center and up are osg::Vec3 elements. I have my eye and up as constant. When I change my center vector, the Camera's position is