Traversal control over PFN_CULL_SORT

New Message Reply Date view Thread view Subject view Author view

From: Bram Stolk (bram++at++sara.nl)
Date: 02/27/2002 07:28:42


Hello,

I suspect that pfNode::setTravMode is not working as it should be.
I tried with O2's, Octanes and an Onyx, with different Performer versions,
but calling:

  HighlightedGroup->setTravMode(PFTRAV_CONT, PFN_CULL_SORT, PFN_CULL_SORT_CONTAINED);

results in this error msg from performer:

  PF Warning/Usage: pfNode::setTravMode(): invalid traversal 0

Also, traversal behavior remains unchanged.

When reading 'man pfnode', I see:

     setTravMode is used to set additional mode information to control
     traversals. Currently the which argument must be PFTRAV_CONT and the
     mode argument must be PFN_CULL_SORT; the possible choices for the value
     argument are:

          PFN_CULL_SORT_UNCONTAINED
               [snip]
          PFN_CULL_SORT_CONTAINED

  Bram

PS: setting val to PFN_CULL_SORT_UNCONTAINED gives the same warning.

-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram++at++sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

"I heard if you play the NT-4.0-CD backwards, you get a satanic message." "Thats nothing, if you play it forward, it installs NT-4.0" ------------------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 27 2002 - 09:43:27 PST

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