John Rohlf (jrohlf++at++tubes)
Wed, 23 Aug 95 17:54:16 PDT
pfClone() is currently intended for instancing and does not
duplicate objects below pfGeodes, e.g, pfGeoSets. I suggest you
write your own traversal which clones the scene graph including
pfGeoSets and pfGeoStates.
> How about the option of using pfCopy? I can copy the Geode and the
> group but again how can I get the gstate to change the texture? Granted
> that this is possible, if I change the texture of the copy will it change
> the texture of the original?
pfCopy is not yet implemented for pfNodes.
> Last one. I noticed that in the Performer 1.2 manual there is a brief
> reference to the the pfCopyGSet (pg 243) which it says that it can "Make a
> copy" of the GSet. However, online man pages does not have any
> reference to it. I suspect that this was omitted from the library but
> not the hardcopy manual pages. It sure would be nice to be able to copy
> the geometry sets so as to be able to create a new geode with a new
> gstate and thus a new texture. I tried to pfCopy the geometries but got
> a core dump.
pfCopy will copy geosets but will not recursively copy
that which the geoset references.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:49 PDT