Hello everyone. I'm presently working on performing accurate runtime
intersection tests of paged databases. I'm trying to perform these
tests in a manner that doesn't result in dropped frames.

My app uses an ellipsoid model of the earth that is paged. The terrain
model itself is several GB in size and was built using osgdem. I have
point data that I need to place just above the terrain @ runtime. I do
not know ahead of time the latitude/longitude of the points. I can get
as many as 20 a second at peak times. I wrote a small sample app using
osgSim::LineOfSight to get the correct height. This works, but I'm
told that running it on a background thread that isn't sync'ed with
the scenegraph is not safe. If I run it from the main rendering loop,
the intersection test can sometimes block for several seconds. Given
the quantity of points that are coming in, the performance hit could
make the app unusable.

My question for the community is this: how do you guys perform
accurate intersection tests against paged databases that don't result
in frame loss?
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to