Jim Helman (jimh++at++surreal)
Fri, 10 Nov 95 19:32:03 -0800
Actually, in the current Inventor loader on sgigate.sgi.com,
SoBlinkers are converted into pfSequences rather than using
traversal callbacks.
In 2.0, continously animated nodes such as Shuttles, Rotors and
Penduli can be handled with node callbacks during the APP
traversal. I back ported this to 1.2 and put it in pfiv1.6.tar.Z,
but Performer 1.2 has no APP traversal, so it has to use CULL
callbacks instead, which is not really kosher (e.g. could cull
wrong, app pfGet's don't work).
> To take advantage of pfSequence, I made a subClassed node from SoSwitch
> and added all the possible parameters of a pfSequence, and then upgraded
> the loader to support it. Works well.
cool.
In Performer 2.0 with C++, the APP traversal DCS modifications for
Shuttles, Rotors, and Penduli can be handled by subclassing from
pfDCS, which is how the latest 2.0 loader does it. Callbacks work
as well, but it's a bit nicer without relying on userdata for the
additional data fields.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/933-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:02 PDT