How do I determine if the model is on the front or back of the earth?

classic Classic list List threaded Threaded
3 messages Options
gis gis
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How do I determine if the model is on the front or back of the earth?

How do I determine if the model is on the front or back of the earth?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How do I determine if the model is on the front or back of the earth?

Hello kid,

See the class osgEarth::Horizon. You can set the eyepoint (setEye) and then call isVisible() to test whether an object is visible over the horizon. It does not account for terrain elevation but is generally accurate with respect to the Earth's ellipsoid.
Glenn Waldron / Pelican Mapping
gis gis
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How do I determine if the model is on the front or back of the earth?

thank you gwaldron, I has solved it by your advice
Loading...