Scott Herod (herod++at++evt.com)
Wed, 23 Dec 1998 11:07:23 -0700
I'm not sure that this would work (I'm having problems
right now setting culling functions) but how about setting
a preDraw function for your node and using it to switch
the geostates?
Scott Herod
scott++at++evt.com
Prakash Mahesh wrote:
>
> 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.
> > >
>
This archive was generated by hypermail 2.0b2 on Wed Dec 23 1998 - 10:07:47 PST