RE: [Math formula] find closest point to ellipsiod

Date : Wed, 14 Jun 2006 10:59:00 -0400
To : <XSI(at)Softimage.COM>
From : "Mathieu Leclaire" <mleclair(at)hybride.com>
Subject : RE: [Math formula] find closest point to ellipsiod
Allright... cool... lots of verry cool information here... thanks for the
links.

Mathieu

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf
Of francois.painchaud(at)sympatico.ca
Sent: Tuesday, June 13, 2006 9:15 PM
To: XSI(at)Softimage.COM
Subject: Re: [Math formula] find closest point to ellipsiod


Some C++ code:
http://www.geometrictools.com/DistanceBody.html
http://www.geometrictools.com/Documentation/DistancePointToEllipsoid.pdf

Somewhat related links...
http://www.gamedev.net/community/forums/topic.asp?topic_id=379935
http://www.spaceroots.org/documents/distance/distance-to-ellipse.pdf
http://www.ag.jku.at/pubs/ctd02.pdf

Cheers,
François

> De: <francois.painchaud(at)sympatico.ca>
> Date: 2006/06/13 mar. PM 08:42:44 GMT-04:00
> À: <XSI(at)softimage.com>
> Objet: Re: [Math formula] find closest point to ellipsiod
>
> You are on track: an ellipsoid is just an appropriately scaled sphere.
> In this line of thought:
> http://www.gamedev.net/community/forums/topic.asp?topic_id=308119
>
> François
>
> > De: Reinhard Claus <rclaus(at)gmail.com>
> > Date: 2006/06/13 mar. PM 06:13:53 GMT-04:00
> > À: XSI(at)softimage.com
> > Objet: Re: [Math formula] find closest point to ellipsiod
> >
> > Just thinking aloud here.... For a sphere, the distance would be
> >
> > |Point ----> sphere center| - sphere radius
> >
> > Maybe you could "virtually" distort space so the ellipsoid becomes a
> > circle, then use the fomula, and then recompute the distance somehow to
> > compensate for the distortion.
> >
> > Could be totally off the track here, close to falling asleep.
> >
> > Reinhard
> >
> >
> > Mathieu Leclaire schrieb:
> > > I'm looking for the fastest formula to find the closest point on the
surface
> > > of an ellipsiod. Well actually I only need the distance of the closest
point
> > > so if a point has more then one point on the surface that has the same
> > > distance, it doesn't really matter which one, I only need the
distance. I'm
> > > browsing through my old Math books but I'm having a hard time finding
a
> > > solution so I'm just checking to see if anyone remembers his Math well
> > > enough to guide me towards a formula.
> > >
> > >
> > > Mathieu Leclaire
> > > R&D Programmer
> > > Hybride Technologies


---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi




---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.