RE: find a node in a loaded database

New Message Reply Date view Thread view Subject view Author view

From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 05/23/2001 08:45:26


 Hi

Not quick true, just tell the loader not
flatten and clean and it will work.

-----Original Message-----
From: DANIEL BASS
To: l.cappellato++at++hsantalucia.it; yair++at++polygon.engr.sgi.com
Cc: info-performer++at++sgi.com
Sent: 5/23/2001 9:54 AM
Subject: Re: find a node in a loaded database

Note that just assigning a name in multigen will not guarantee that
that name shows up in your Performer scene graph. To keep the
MG name into pf, you need a MG group bead with these children:
at least one non-empty object or group, AND, a polygon, or another
non-empty object or group.

--daniel

>>> Yair Kurzion <yair++at++polygon.engr.sgi.com> 05/22 1:41 PM >>>
> I'm beginer in Performer and perhaps I do stupid question.
> I'm working with .flt database (build with Multigen Creator) and I
load =
> with Performer.
> How do I find precisely a node in the tree building by Performer
during =
> loading.
>
> For eexample I have a home, I want find the node that represent the
door =
> so I can attribute it a moving when it's touched
>
> Where can I find some example or demo about this situation?

Take a look at `man pfNode', look for pfNode::find.
You can assign Multigen Creator nodes with names (CTRL-J). Once a node
has
a name, you can look it up using pfNode::find.

-yair

-- 
\_________  \_____  \__    \__  \_____         Yair Kurzion
\_________  \_____   \__   \__  \_____         yair++at++sgi.com 
       \__     \__   \____\__      \__   http://reality.sgi.com/yair 
       \__          \__  \__                Work: (650) 933-6502
       \__          \__   \__               Home: (408) 226-9771
       \__          \__    \__             
-----------------------------------------------------------------------
 List Archives, FAQ, FTP:  http://www.sgi.com/software/performer/ 
Open Development Project:  http://oss.sgi.com/projects/performer/ 
             Submissions:  info-performer++at++sgi.com 
         Admin. requests:  info-performer-request++at++sgi.com

----------------------------------------------------------------------- List Archives, FAQ, FTP: http://www.sgi.com/software/performer/ Open Development Project: http://oss.sgi.com/projects/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 2b29 : Wed May 23 2001 - 08:52:11 PDT

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