RE: almost trivial, but . . .

New Message Reply Date view Thread view Subject view Author view

From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 10/17/2000 18:21:51


 Hi Ken

The bounding sphere is used first as a rough check for intersections
if sphere passes then performer checks at pfGeoset level which is
a bounding box and much tighter.

You can always reset the bounding sphere to someting tighter and
set it PFBOUND_STATIC so its not recalculated

Gordon.

-----Original Message-----
From: Ken Lindsay
To: info-performer++at++sgi.com
Sent: 10/17/2000 8:27 PM
Subject: almost trivial, but . . .

hi,

I'm setting a bounding volume on some geometry and discover that the
radius of the pfSphere
is almost double what Creator 2.4 generates for the same model. I don't
do any scaling in
performer so the measure should be almost identical to what Creator
calculates, don't you
think? is pfNode->getBound() doing the right thing or is it really
returning the diameter
of the pfSphere or something? I need this for intersection testing so
I'd like to be as
tight as possible for the effect to work well.

thanks

ken
-==-

ken "fire a few neurons" lindsay kl++at++mars.arc.nasa.gov
NASA Ames Research Center QSS Group, Inc.
Bldg 269, Room 281 (650) 604 0461 (lab)
Mail Stop 269-1 (650) 604 3594 (fax)
Moffett Field, CA 94035-1000 (650) 604 3181 (vox)

     When inlaws are outlawed, only outlaws will have inlaws
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Oct 17 2000 - 18:21:12 PDT

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