[info-performer] loading a tristrip into a pfdGeoBuilder

Date view Thread view Subject view Author view

From: John Kelso (kelso++at++nist.gov)
Date: 11/19/2003 14:04:49


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


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Nov 19 2003 - 14:21:31 PST