[osg-users] Update Optimization
Joachim E. Vollrath
vollrath at vis.uni-stuttgart.de
Mon Jul 7 02:27:42 PDT 2008
Hello to all in this thread,
I have absolutely no terrain expertize and I don't know how OSG
implements this, but just out of curiosity:
Suppose you have terrain elevation stored in an image (in CPU memory) as
well as normals.
Given the 2d coordinate of an entity in elevation image space - wouldn't
calculating the height and normal (resp. orientation) merely reduce to a
bilinearly interpolated lookup in that image?
I may be wrong, but shouldn't it be possible to get interactive update
rates that way?
Best,
Joachim
John Burgess wrote:
> Hi all,
> My viewer needs to support at least 400 entities running at 30 Hz.. My entities are all moving tanks and I need to clamp them to the terrain using an update call back in every frame, the frame rate will drop to 3 Hz when I load 300 tanks with the update cycle taking up a huge amount of time. How can I achieve 30 Hz for 400 entities and yet be able to clamp them to the terrain?
> Thanks,
> John
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Dipl. Inf. Joachim E. Vollrath
Visualisierungsinstitut der Universitaet Stuttgart (VISUS)
web: http://www.vis.uni-stuttgart.de/~vollrajm/
mail: vollrath at vis.uni-stuttgart.de
phone: 49.711.7816.403
fax: 49.711.7816.213
More information about the osg-users
mailing list