Hi,

thanks JP! :)  I really appreciate your response.  It appears I am fighting 
something I didn't expect and something I don't fully understand: the terrain 
manipulator.

I understand what you've proposed but when I call the fucntion: setByMatrix() 
w/in the terrain manipulator, that function appears to be doing something to 
the matrix I send in that I am not expecting.

What you've proposed is pretty much what I do except that I'm using quaternions 
and then converting those quats into matrices.

So I can move the cam and I can even rotate it on the "Z" axis which is the 
position vector coming from the ECEF origin to the point on the terrain I'm 
working with and the cam is looking directly down that "Z" axis (local z-axis).

It's just when I do a 90 degree rotation about the local x or y axis I get 
something totally screwed up and I don't know why but I think the mystery is 
w/in the terrain manipulator which I've not investigated more thoroughly as yet.

I am hoping someone who has in depth knowledge about the terrain manipulator 
will see this post & buzz me back on it.  I have very limited understanding of 
the manipulator code w/in OSG as I'm still a novice w/ OSG so I get all mixed 
up when I delve into any of the manipulator classes: trackball, nodetracker and 
now terrain.

thanks though!

Thank you!

Cheers,
Allen

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25590#25590





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to