how to get the desired node?

New Message Reply Date view Thread view Subject view Author view

Felix Yprj2316 Keung (yprj2316++at++cse.cuhk.edu.hk)
Thu, 5 Mar 1998 21:23:26 +0800 (HKT)


Hi all,
        Here is the part of my scene graph :

                / \
                           / \
                          sw sw2
                          /\ /\
                         / \ / \
                   obj obj obj obj

        where sw and sw2 are the pfSwitch nodes .
        Now when I traverse the tree and one of the switch node will be get , how to detect which the switch ,sw or sw2, of the node is?
         
        I have tried to use pfCompare , but it just tells it is a switch type or not . I want the result to tell sw or sw2 that the get node belongs to .

        How to detect it ?

Thanks
             
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:56:59 PDT

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