(no subject)

New Message Reply Date view Thread view Subject view Author view

From: Mark Evans (mrrevans++at++yahoo.com)
Date: 09/28/2000 06:48:53


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/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Sep 28 2000 - 06:50:10 PDT

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