Can you post a .osg file that reproduces the issue?
   -Paul

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Michele Bosi
> Sent: Friday, May 23, 2008 8:59 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] Small object frustum culling
> 
> Thank you Robert,
> v-sync is off, I get around 90-100 FPS, when enabled OSG stats I get
> 3.4 for "cull" and 6.4 for "draw", also in this case the 
> frame rate basically does not change but floats around the 
> same range 90-100.
> Since the performances are already very good I wont dig more 
> into the "problem", which might not be a "problem" but rather 
> a lack of understanding of what's going on.
> 
> Another thing: I instance a single Geometry (my quad 
> billboard) then add it 4000 times to a Billboard node. I 
> looked in the archives for "quadtree" but coulnd't find any 
> info. How can I use the quadtrees you mentioned with OSG? Did 
> you mean quadtrees to speedup frustum culling or a particular 
> parent/child layout for OSG nodes?
> 
> Thanks,
> Michele
> 
> On Fri, May 23, 2008 at 4:05 PM, Robert Osfield 
> <[EMAIL PROTECTED]> wrote:
> > Hi Michele,
> >
> > The OSG does view frustum culling by default, you have to explictly 
> > turn it off.  The same applies to small feature culling it's on by 
> > default.
> >
> > As for your FPS not changing when objects move off screen, is vsync?
> >
> > Hows about enabling OSG stats?  This will tell you what the 
> bottleneck.
> >
> > Also with your scene graph, make sure you build a quad tree 
> to store 
> > all those billboards, and avoid large flat node contains lots of 
> > children/drawables.
> >
> > Robert.
> >
> > On Fri, May 23, 2008 at 3:01 PM, Michele Bosi 
> <[EMAIL PROTECTED]> wrote:
> >> Hi all,
> >> I have a scene with 4000 billboarded quads to display and I just 
> >> noticed that OSG might not perform frustum culling on them since 
> >> Fraps tells me that the FPS remains the same even when 
> many of those 
> >> quads are out of the screen.
> >>
> >> Is there a way to enable frustum culling? or maybe OSG doesn't 
> >> perform frustum culling for small/simple objects?
> >>
> >> I am currently using OSG 2.2 / WinXP / MinGW and the 
> application I am 
> >> using manages the camera with a Trackball manipulator, in 
> case this 
> >> has anything to do with the problem...
> >>
> >> Thanks,
> >> Michele
> >> _______________________________________________
> >> osg-users mailing list
> >> [email protected]
> >> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph
> >> .org
> >>
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> > org
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to