Re: Getting a handle to pfScene

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.engr.sgi.com)
Fri, 27 Feb 1998 10:55:05 -0800


+>---- On Feb 27, 6:11pm, Svend Tang-Petersen wrote:
> Subject: Re: Getting a handle to pfScene
->From guest++at++holodeck Fri Feb 27 10:40:59 1998

->just figured it out and got it working:
->
->pfPipe *pipe = pfGetPipe(0);
->pfChannel *channel = pipe->getChan(1);
->pfScene *scene = channel->getScene();
->

If you don't want to depend on this channel hookup but know the name
and the name is unique, you can use pfLookupNode()
which search a global table of names and return a node of a requested
type.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (650) 933 - 1002  FAX: (650) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
=======================================================================
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:54 PDT

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