pfTraverer in cull

New Message Reply Date view Thread view Subject view Author view

From: 'Bwana' Bob Buckley (Bob.Buckley-contractor++at++JNTF.osd.mil)
Date: 06/14/2000 09:56:27


I've setup a test case that contains a scene with 2 pfDCSs with pre- and
post-cull callbacks. I scale pfDCS #1 and translate pfDCS #2.

In the pre-cull callback for pfDCS #1 I query the pfTraverser for the
matrix and get the identity matrix. This is contrary to the man page. In
the post-cull call back I again query the pfTraverser for the matrix and
get what I understand to be the correct matrix (concatenations from the
scene down to and including the node)

In the pre-cull callback for pfDCS #2 I query the pfTraverser for the
matrix and get the matrix for pfDCS #1. In the post-cull callback I get
the matrix for pfDCS #2.

The man pages states:

"pfTraverser::getMat sets mat to the current transform matrix, which is
the concatenation of the matrices from the root of the scene down to and
including the current node."

I could swear that when I put this in my application last week is worked
as advertised. Hence, the test case. Am I missing something here? I put
together a simple test case if anyone cares to take a look at it.

Thanks.



New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jun 14 2000 - 09:56:29 PDT

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