Re: almost trivial, but . . .

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 10/19/2000 02:26:19


The assembly of vertices into spheres and multiple spheres into spheres
may not be optimal....

CHeers,ANgus.

Don Burns wrote:
>
> Should return the radius. You can test this by averaging all the verticies in
> your geoset for a center, then finding the vertex that is furthest from your
> center. The distance from the center to your furthest vertex should be your
> radius.
>
> you might have a stray vertex out there somewhere.
>
> -don
>
> On Oct 17, 5:27pm, Ken Lindsay wrote:
> > 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
> >-- End of excerpt from Ken Lindsay
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Oct 19 2000 - 02:26:33 PDT

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