Hi.
I have a big problem. not sure this is the good place to post this, but here 
goes.....
I am working on some aircraft simulation game... Problem for me are coordinates 
conversion.
All my coordinates are in ECEF. 
I have problem setting up my camera properly and then later transforming ECEF 
positions of aircraft so they can be rendered correctly. can someone please 
tell me the right way to do it, or even better some code would be nice.

for example. my camera is at lat 15, lon 10, elevation 0.
i want it to look at lat 15.01, lon 10, elevation 0.
I convert both of theses to ecef, so i have my cameraPosition and cameraTarget.
how to convert models ecef position so i have opengl x->right, y->up, 
z->forward?


Thank you!

Cheers,
Pilip

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to