Re: Finding closests points on a NURB surface

Date : Mon, 3 Mar 2008 16:56:15 -0500
To : <XSI(at)Softimage.COM>
From : "Moloney, Ciaran" <cmoloney(at)nybg.org>
Subject : Re: Finding closests points on a NURB surface
Title: Re: Finding closests points on a NURB surface

Hi,
Have you tried using the Geometry.GetClosestLocations method? I believe that given an world-space XYZ coordinate, this method will return a PointLocator(s) on the geometry which you can then feed into Geometry.GetNormalizedUVArray.

Not sure about a subdivided polymesh. Perhaps try Geometry.EvaluatePositions or GetApproximatedMeshAndAttributes.


---------- Forwarded message ----------
From: raffa...(at)turbolinea.com
Date: Mar 3, 4:30 pm
Subject: Finding closests points on a NURB surface
To: XSI Mailing List Archive


Hello all,
I am trying ti figure out the best way to do this and was wondering if
anyone knows of a XSI command/object I can call to give me back the
closest point on  NURB surface (projected to the nurbs normals).

In short given a point/x,y,z coordinate in 3D space is there a call I
can make to find the closest point on a Nurb surface (getting its u.v
values) ?

Is there a similar function that would work for closest point on a
subdivided polymesh ?

Any hints, information is welcome.
THX
RSM

---
Unsubscribe? Mail Majord...(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.