Picking under a pfSwitch node

New Message Reply Date view Thread view Subject view Author view

Morten Eriksen (mortene++at++idt.unit.no)
Mon, 11 Dec 1995 20:27:11 +0100 (MET)


Just wondering.. is there anything special you have to do
to enable picking of geometry under pfSwitch nodes?

I have initialized the complete scenegraph for picking by
using the pfNodePickSetup()-function on the root node (after
building the complete scene - I start the visualization loop
right after the pfNodePickSetup call and all objects can be seen).
But objects which are situated below pfSwitch-nodes does not
respond to picking actions. All other objects in the scene
may be picked, though.

To see if there is something weird in my code, or if this always
happens, I tried to make a small modification to the pickfly program,
by adding these lines to the initSceneGraph() function in the
pickfly.c file:

Before modification:


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:52:07 PDT

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