Hello all,

would someone mind telling me how to get a SphereSegment to properly orient on some terrain?  I've tried everything I can find and nothing is working for me.  This is extremely frustrating!  any help will be deeply appreciated.

As it stands, I'm loading a terrain that is not at 0,0,0 but has x,y,z points w/in the Terrain such as (-2175519, -4898182, 3446576)  and EVERY TIME I attempt to get my sphere to draw @ this point, it's draws it with the sphere facing into "space"  and not into the terrain - which is good.  But I can not set the "roll, pitch, or yaw" to save my soul.

I think I need to translate the sphere into the "coordinate" space of the terrain but I have NO Idea how to do this.  Would someone be so kind as to shed some light on my delima?
-- 
Sincerely, Allen

Gene Allen Saucier, Jr
Senior Software Engineer
CAS, Inc
100 Quality Circle
Huntsville, AL  35806
or
PO Box 11190
Huntsville, AL  35814
(256) 922-6453 (w)
"As for I and my house, we shall follow the Lord"  Joshua 25:14


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to