Subdivision Surface API

Subdivision Surface API

Anonymous
Not applicable
398 Views
0 Replies
Message 1 of 1

Subdivision Surface API

Anonymous
Not applicable
Overview: I am currently evaluating the posibility of using subdivision surfaces for a plugin derived from one I am already using that relies on Nurbs. I have looked at the pointOnSubd plugin included in the Maya devkit and I believe my migration is possible.

Question 1: I can't seem to find any information about how to find the closest point on a subdivision surface the same way we can on Nurbs and polygons, which is something vital in the use of my node. Is there a plugin available somewhere that will do that? Or can someone suggest a method by which I can code it myself? Or is there a trick that will have the same effect and still gives precision.

Question 2: I could 'reverse engineer' the control point structure of Subd's in order to use them. Can someone explain exactly how the points are numbered ( I believe the 0-level uses the same order as the base mesh ) on the higher levels of the hierarchy. I am looking to understand how to find the corresponding control point number with a selected vertex ( which give name.smp or something...)

Any help would be greatly appreciated.
0 Likes
399 Views
0 Replies
Replies (0)