Marcus (Marcus++at++multigenuunet.UU.NET)
Wed, 8 Feb 1995 11:54:48 PST
What exactly do you mean by "attach"? If you're trying to insert a
pfDCS between the pfNode* supplied by registerNode(), the loader
callback, then you can only do this in the case of CB_OBJECT and
CB_LOD, since they are the only nodes that have parents at the time
of the callback. For these two cases you could do something like:
pfAddChild( your pfDCS, returned pfNode )
for each parent of returned pfNode
pfReplaceChild( which parent, returned pfNode, your pfDCS)
to insert you DCS into the scene graph so that it'll be part
of Performer's traversals and not an orphan.
>Thank's in advance.
>
>Ciao
>
>Riccardo
>
>-----------------------------------------------------------------
>| Riccardo Camiciottoli | Via Santa Marta, 3
>| Universita' di Firenze | 50139 Firenze
>| Facolta' di Ingegneria | Italia
>| Dipartimento di Sistemi e Informatica |
>| | Phones: +39 55 4796365 (voice)
>| email: camiciot++at++aguirre.ing.unifi.it | +39 55 4796425 (voice)
>| | +39 55 4796363 (fax)
>| www: http://aguirre.ing.unifi.it |
>-----------------------------------------------------------------
Ciao bella,
Marcus Barnes, Member Technical Staff
MultiGen Inc., 1884 The Alameda, San Jose CA, 95126
PH: (408) 261 4118 FX: (408) 247 4329
EMAIL: multigen!marcus++at++uunet.UU.NET
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:57 PDT