From: Athanasios Gaitatzes (gaitat++at++fhw.gr)
Date: 04/27/2000 04:36:07
Hello,
pfDCS
/ \
/ \
/ \
pfGeode pfGeode
In a scene graph when I ask for the bbox of each of the nodes I get the
bbox of the graph below that node. Is there a traversal that would give
me the accumulated bbox, after the transformations above a node have
been applied to the nodes?
So in the example above when calculating the bbox at the pfGeodes I
would like the pfDCS applied to it before getting the bbox back.
In the manual it says that a pfTraverser has a getMat method that
returns the "concatenation of the matrices from the root of the scene
down to and including the current node".
But looking in the libpfutil/trav.c code at pfuTravCalcBBox it uses a
pfuTraverser not a pfTraverser.
Any help would be appreciated.
pfThank you
--
Athanasios Gaitatzes (gaitat++at++fhw.gr)
Virtual Reality Department
Foundation of the Hellenic World
38 Poulopoulou St., Athens 11851, Greece
Tel: +30 1 3422292 Fax: +30 1 3422272
This archive was generated by hypermail 2b29 : Thu Apr 27 2000 - 04:33:39 PDT