Re: [info-performer] Bounding box for a pfNode

Date view Thread view Subject view Author view

From: MLM Veraart (veraart++at++fel.tno.nl)
Date: 07/09/2004 08:44:51


Christian Beaudoin wrote:
>
> Hello,
>
> I would like to obtain the bounding box of a pfNode.
>
> But the problem is that the node object only have a "getBound" method,
> wich returns a bounding SPHERE instead. Of course I can build a bounding
> box containing the bounding sphere, but I dont gain any new information
> by this way.
>
> In fact, I want to get the dimmensions (X, Y and Z) of a node to resize
> it the way I need (differen resizing in each direction).
>

Have alook at the function

pfuTravCalcBBox(pfNode*, pfBox*)

Mario

-- 
------------------------------------------------------------------------------
The disclaimer that applies to e-mail from
TNO Physics and Electronics Laboratory
can be found on: http://www.tno.nl/disclaimer/email.html
------------------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jul 09 2004 - 08:47:29 PDT