11-09-2006 08:36 AM
11-09-2006 11:26 AM
11-10-2006 06:52 AM
Thanks for the help...I can't just use the setup camera because I need to be able to zoom in and out from where ever the user may have rotated the camera to. So unless their is some way to read the current camera settings, which I have not found - the method only allows a write to. I suppose I could compute those values from the model view matrix, but I don't know enough about what those numbers actually mean.
It is not possible that I simply rotated it out of bounds. The camera moves from the equator latitude to looking down on the north pole when I just move it a hair. Note that in the pictures the model view matrix is the same for pictures 2 and 3. For picture 4 I just clicked and moved it a couple of pixels at most. Also note that to get the last picture I just swapped model view matrix elements [1,3] and [2,3]. It appears that after the model view matrix is written to, you can no longer move the camera with the mouse controls properly.
11-14-2006 08:55 AM
If you are using the built in "Flying" or "Spherical" camera controller, you can control the zoom level by holding <Shift> and dragging within the display. You can change the pivot point by holding <Ctrl> and dragging within the display. This would let your users move the camera to any rotation or zoom level intuitively by only interacting with the display. It would also avoid interacting with the model matrix directly, which appears to be the cause of this discontinuity.
@tiemanj wrote:
There is no zoom control that I know of...
11-16-2006 03:54 AM - edited 11-16-2006 03:54 AM
Message Edited by pauldavey on 11-16-2006 05:55 PM
06-01-2010 02:57 AM
i know this thread belongs to sometime ago, but i have the same problem now. i need to mark some points on 3d object, and then i need to zoom any arbitary point, i try to use the model view matrix, but i need to redraw my object again and i have no idea how i can update the scene again, after i change my modelview matrix.
Also, i tried to use the setup camera method, but the same problem , i cant read the current position of camera!!!!!!
so, is there any sample VI, or any idea that can help me? i'm looking forward.