Re:

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 09/28/2000 14:58:34


Filter it in the hit callback.

CHeers,Angus.

Mark Evans wrote:
>
> I have already modified the pick.c example (using
> pfiPick), creating 2 SCSs, each having as child the
> same loaded flt file (I used esprit.flt). My problem
> is I need to set one SCS to take part in the picking
> process, while the other not. I tried:
>
> pfNodeTravMask( scs2, PFTRAV_ISECT, 0, PFTRAV_SELF,
> PF_SET);
>
> but clicking the second model was still giving me
> picking events.
>
> pfiPick uses
>
> pfNodePickSetup(scene);
>
> which means that the whole hierarchy gives pick
> events.
>
> What I need is to set some of the SCSs under the scene
> to produce pick events, and some of them not to
> produce them, and, while picking, to be able to
> recognize which SCS produced the hit.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Sep 28 2000 - 14:58:48 PDT

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