Re: Sharing Geometries

New Message Reply Date view Thread view Subject view Author view

Prakash Mahesh (prakash++at++drawcomp.com)
Wed, 23 Dec 1998 10:30:55 -0500


Actually my idea is to share geodes and geosets, but havin multiple
textures, colors etc. Is this simply impossible in Performer?

-Prakash

> >
> > 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.
> >

> 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?
>

-- 
  Prakash Mahesh                                     
  prakash++at++drawcomp.com
  	--or--
  prakash++at++openworlds.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Dec 23 1998 - 07:41:00 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.