[osg-users] Best practices for dealing with complex scene graph
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Tue Mar 3 00:04:21 PST 2020
Hi Andrew,
How best to go about this type of task will depend upon what exactly is
being rendered and how it's updated if ever.
If the geometries are all the same then you could use geometry instancing
combined with a Uniform Array or a Texture2DArray to store data that is
indexed via the index id.
If the geometries are very simple, such as can be represented by a sprite
then using point sprites is a good way of scaling.
If you do go a batching route then the best way is batch by state and
geographical position so each batch can use the same state and sit within a
tight area so that culling is maximized.
Cheers,
Robert.
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/8c56b271-fc47-4a49-a425-9e1c01a5197a%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200303/31ad83fa/attachment.html>
More information about the osg-users
mailing list