Re: Sharing Geometries
Don Burns (don_burns++at++peru.csd.sgi.com)
Tue, 22 Dec 1998 17:29:47 -0800 (PST)
On Dec 22, 7:02pm, Prakash Mahesh wrote:
> Subject: Sharing Geometries
> Dear Performers,
>
> I want a geometry and use it in more than one place, but have different
> attributes for that.
>
> To be more precise, I have a bunch of GeoStates, and they point to the
> same Geode, and that Geode has just one GeoSet. A bunch of DCSs connect
> to the Geodes and hence I get a bunch of geometries. BUT, I want
> different attributes (materials and textures) for these. This seems to
> be simple impossible with Performer, juse because of
> geoset->setGState(gstate) call.
>
> If I don't have the above call, then none of my objects have any
> attributes.
>
> Is there a way around this?
>
> Thanks in advance for any help.
>
> --
> Prakash Mahesh
> prakash++at++drawcomp.com
> --or--
> prakash++at++openworlds.com
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Prakash Mahesh
Yes, but I assume you are trying to save space by not replicating Vertex,
Color, Normal and Texture Coordinate information. Why not make multiple
GeoSets that all use this same data, each with its own geostate?
-don
This archive was generated by hypermail 2.0b2
on Tue Dec 22 1998 - 17:31:55 PST