Hi Tim,

I've now merged and tested your mesh optimizer and yay - I get 30+%
improvement on some of the meshes I've thrown at it, even ones that
had been previously tri stripped.   I haven't done lots of testings
between tri stripping and cache optimized index triangle strips yet,
but my initial results are promising and suggest it's time to rip out
the use of TriStripVisitor usage that is currently done in some of the
plugins.

Your changes are now checked into svn/trunk.   I don't think the story
stops here though - I think we now need to look at places where th
TriStripVisitor is being used and start benchmarking replacing this we
mesh optimization.  Have you already looked into this at all?

Cheers,
Robert.


On Mon, Mar 1, 2010 at 9:40 AM, Tim Moore <[email protected]> wrote:
> Whoops, sent this to the wrong list.
>
> ---------- Forwarded message ----------
> From: Tim Moore <[email protected]>
> Date: Mon, Mar 1, 2010 at 10:39 AM
> Subject: 3 mesh optimizations
> To: OpenSceneGraph Users <[email protected]>
>
>
> Hi,
> This submission implements 3 optimizations for meshes. INDEX_MESH turns
> DrawArrays style geometry into DrawElements, uniquifying the vertices in the
> process. This is useful for certain loaders, like ac3d, which just spit out
> DrawArrays. VERTEX_POSTTRANSFORM and VERTEX_PRETRANSFORM optimize mesh
> triangle and vertex order for the caches on a modern GPU, using Tom
> Forsyth's algorithm. I describe this and the big difference it makes (38%
> improvement on a very large mesh) in my blog,
> http://shiny-dynamics.blogspot.com/2010/03/vertex-cache-optimization-for-osg.html.
>
> Is there a page on which to add optimizer documentation?
>
> Thanks,
> Tim
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to