[osg-users] sorting polygons

Gerrick Bivins biv at iastate.edu
Sat Oct 27 10:37:40 PDT 2007


Hey Perry,
This is the sort of thing we are looking for. I'm not familiar with
the details of the BSD license. In short, if it fixes our problems,
can we redistribute this with VE-Suite(GLGPL)?

biv
On 10/26/07, Perry Miller <perry at modelspace.com> wrote:
> Hi Gerrick,
>
> This class works well for us:
>
> http://cadkit.svn.sourceforge.net/viewvc/cadkit/trunk/OsgTools/Callbacks/SortBackToFront.h?view=markup
> http://cadkit.svn.sourceforge.net/viewvc/cadkit/trunk/OsgTools/Callbacks/SortBackToFront.cpp?view=markup
>
> BSD license. Hope it helps.
>
> Per
>
>
> On 10/26/07, Gerrick Bivins <biv at iastate.edu> wrote:
> >
> > Hi All,
> > Sorry if the question is too vague.We're a bit perplexed about depth
> sorting of polygons in OSG.
> > We've been trying to get some vis working that uses Geometry (display
> lists or vbo's) where the primitives in
> > Geometry need to be blended back to front and we're seeing strange
> results. The original view has
> > the correct blending however as we navigate around, blending isn't
> correct. We've been diggin around
> > and it seems that OSG only does sorting down to the drawable level. Is
> this the case? If so, does anyone
> > one have idea on how to efficiently sort and then blend polys in OSG ? If
> not, how do we change things up
> > so that OSG does sorting on the polys?
> > Thanks for any ideas here, cuz we've been mulling over this for a few
> months. I originally thought it was
> > our implementation (we initially mixed pure gl calls in OSG drawable
> similar to the teapot) but I have
> > since rewritten our pipeline to use OSG calls and another developer in our
> group implemented an effect
> > that requires this type of blending and he is seeing the same thing I am.
> > biv
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
>
>
> _______________________________________________
> 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