From: Lucia Cappellato (l.cappellato++at++hsantalucia.it)
Date: 05/25/2001 08:33:02
Hi,
I try and It's Ok I 'll have a good week-end
Thanks, bye
Lucia
----- Original Message -----
From: "Corner, Steve" <S.Corner++at++tees.ac.uk>
To: <info-performer++at++sgi.com>
Sent: Friday, May 25, 2001 3:45 PM
Subject: RE: find a node in a loaded database
> Hi, heres some code which worked for me....
>
> /* turn off flattening and cleaning in the flt loader */
> pfdConverterMode(".flt", 2, 0);
> pfdConverterMode(".flt", 1, 0);
>
> /* load file */
> Model = pfdLoadFile(fileName);
>
> /* turn on flattening and loading in the flt loader */
> pfdConverterMode(".flt", 2, 1);
> pfdConverterMode(".flt", 1, 1);
>
> All names in fileName sould be preserved.
>
> Hope this helps.
>
> S.
>
> Steven Corner BSc. s.corner++at++tees.ac.uk
>
> VR Developer
> Virtual Reality Centre
> University of Teesside
> Borough Road
> Middlesbrough
> TS1 3BA
>
> Tel +44 (0) 1642 384305
> Fax + 44 (0) 1642 384310
> Website http://vr.tees.ac.uk
>
>
>
> -----Original Message-----
> From: Lucia Cappellato [mailto:l.cappellato++at++hsantalucia.it]
> Sent: Friday, May 25, 2001 11:01 AM
> To: info-performer++at++sgi.com; Tomlinson, Gordon
> Subject: Re: find a node in a loaded database
>
>
> Hi,
>
> I obtain the name of some node with pfFindNode and pfGetNodeName, but
other
> node I cann't get their name (as say Daniel). How can I say to the loader
> doesn't flatten end clean it.
> In man pages I find functions as pfdConverterMode/Attr but I don't
> understand if they're OK for me and how/where I use them.
>
> Somebody have a example or known a link where there is a more good
> documentation
>
> Thanks
> Ciao Lucia
> ----- Original Message -----
> From: "Tomlinson, Gordon" <GORDON.TOMLINSON++at++ca.com>
> To: "'DANIEL BASS '" <BASSD++at++aaicorp.com>; <l.cappellato++at++hsantalucia.it>;
> <yair++at++polygon.engr.sgi.com>
> Cc: <info-performer++at++sgi.com>
> Sent: Wednesday, May 23, 2001 5:45 PM
> Subject: RE: find a node in a loaded database
>
>
> > 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
> >
>
> -----------------------------------------------------------------------
> 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
>
This archive was generated by hypermail 2b29 : Fri May 25 2001 - 08:34:15 PDT