Associating node callbacks with pfClone

New Message Reply Date view Thread view Subject view Author view

Kathryn Loynes (kathyl++at++wormald.com.au)
Tue, 23 Aug 1994 18:04:36 +1000 (EST)


Hi,

I was wondering if it is possible to set up a node callback function
which would be invoked during a pfClone traversal.

I am cloning subsections of the scene graph within my application which
represent dynamic models. Some of these models have articulated parts
within them (represented by pfDCSs). After cloning I need to identify which
new nodes represent the cloned pfDCSs. At present, after calling pfClone
I am using pfuTraverse (with callback) to search through the new scene
graph to identify the new pfDCSs. This obviously means two traversals.
This could be reduced to one traversal if it was possible to set up node
callback functions in the same way as pfNodeTravFuncs can be used to
set up node callbacks for the major intersection, cull & draw traversals.

I can't see any obvious way of doing this, if anyone has any ideas I'd
be interested to hear them. Thanks in advance.

  ----------------------------------------------------------------------
    Kathy Loynes | Wormald Technology
    kathyl++at++wormald.com.au | Advanced Systems Engineering
| Ph: +61 2 981 0611


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:30 PDT

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