[osg-users] osg::Group Child Problem

Robert Osfield robert.osfield at gmail.com
Tue Jun 13 09:56:10 PDT 2017


HI Latha,

I can't work of what you are specifically trying to achieve and why,
this is important as knowing what problem you are trying to solve is
key to knowing what the best way to solve it is.

I say this as in general most application don't attempt to place very
small geometry elements like quads in their own separate subgraphs,
normally you'd just place them in all a single osg::Geometry.  Most
hardware can handle rendering of tens of millions of quads this way.
Have a look at the osgeometry example.

However, I can't say whether just a simple osg::Geometry is sufficient
as you've explain your solution rather than the actual problem.
Please explain what at a high level you are trying to render, i.e. a
road, a cable, etc.

Robert.



Robert.

On 13 June 2017 at 14:16, Latha Rani Baddala <lathabaddala.20 at gmail.com> wrote:
> Hi
>
>  in my  application i am drawing a quad about 1 kilometer length and 0.1 meters width.i am getting frame rate Around 45 FPS.
>
>     Now i am drawing each quad about 1 meter length and .1 meters width,then i am adding all quads to one group node, in this case i am getting frame rate around 25 FPS.
>
>      is there any alternative way for drawing all quads of about 1 meter length and 0.1 meters width and adding to scene, for maintaining frame rate about 45 FPS ?
>
> Thank you!
>
> Cheers,
> Latha
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=71042#71042
>
>
>
>
>
> _______________________________________________
> 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