Re: [info-performer] loading a tristrip into a pfdGeoBuilder

Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 11/20/2003 04:32:08


My experience with the pfdGeoBuilder is that you load the
triangles/polygons and the Builder uses pfdTMesher to make optimized
tristrips.If you have tristrips just load them into the GeoSets.

Brian

John Kelso wrote:
> Hi,
>
> I'm writing a file loader, and one of the primitives I want to load is a
> tristrip. I have code that does this just fine by creating my own geoset
> and sticking it into a geode.
>
> But, I'd like the file loader to use pfdBuilder and pfdGeoBuilder. This
> might be a dumb question, but I don't see how to load a tristrip. I got it
> to work by breaking the tristrip into triangles, and also by converting the
> tristrip into a polygon, just to be sure I was doing the boilerplate
> correctly.
>
> Can someone send me a pointer about how to best load a geoset (with my tristrip
> data) into the pfdGeoBuilder, or better yet, how to use the pfdGeoBuilder
> functions to load a tristrip?
>
> Many thanks,
>
> -John
>
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
> I/ITSEC 2003 Friends of Performer Meeting:
> Wednesday December 03, 6:30-8:30pm, Peabody Hotel, Florida I Ballroom
> -----------------------------------------------------------------------

-- 
     ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612 Graphics Guru Office:(301)814.6858 Fax: (253)323-8182 12200-G Plum Orchard Drive OpenGL/OpenGL Performer/Commodity Graphics Silver Spring, Maryland 20904 Solutions and Integration Services


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Nov 20 2003 - 04:46:57 PST