Hi Jason,
Thank you for the suggestion.  I feel like I'm missing something
still.  Is there an Optimizer feature or something that combines
Arrays for you?  Or did you write a bunch of custom code that
processes your models after you load them?
--
Terry Welsh
mogumbo 'at' gmail.com
www.reallyslick.com



> Message: 3
> Date: Sun, 2 Jan 2011 21:28:12 -0500
> From: Jason Beverage <jasonbever...@gmail.com>
> To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org>
> Subject: Re: [osg-users] large VBOs for multiple Drawables
> Message-ID:
>        <aanlktin2mdb-vewdrpkp0rwjxcok2jm4o0vdx31ao...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Terry,
>
> You can pack the verts of your small objects into a single
> osg::Vec3Array and share that array across multiple osg::Geometry
> objects then use DrawElements for each geometry with the correct
> indices.  I've just recently done this actually for a project I'm
> working on and it's worked out great.
>
> Thanks,
>
> Jason
>
> On Sat, Jan 1, 2011 at 6:21 PM, Terry Welsh <mogu...@gmail.com> wrote:
>> I found some email threads that hinted at this a little, but nothing
>> seemed very specific. ?I have scenes where display lists perform a bit
>> better than VBOs. ?My best guess is because my objects have relatively
>> small vertex counts (usually between 20 and 200). ?Is there any way in
>> OSG to use one large VBO to store the date for multiple Drawables in
>> order to minimize buffer state changes?
>> --
>> Terry Welsh
>> mogumbo 'at' gmail.com
>> www.reallyslick.com
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to