[osg-users] Polygon Rendering

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Thu Mar 16 03:28:02 PDT 2017



Hi Bhanu,
> Hi,
> I am drawing nearly 4000 Quads.How can i reduce number of triangles in geometry. I tried with osgUtil::simplifier but it takes more time to load.Is there any other ways in osg.
4000 isn't exactly many. If each quad is a separate drawable however it 
could induce some performance penalties.

1. use the osgUtil::Optimizer (to convert your quads to triangles and 
depending on their structure to on vertex array). Try ALL_OPTIMIZATIONS

2. If you need to simplify you can store the result and use it from then 
on.

Can you elaborate on the structure of your scene?

Cheers
Sebastian

> ...
>
> Thank you!
>
> Cheers,
> Bhanu
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70506#70506
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list