PDA

View Full Version : converting nurbs uv layout to subd surface?


ktpr
06-01-2003, 06:12 PM
Hi

I made a base nurbs surface that I converted to subd. I turned off history when doing so. Is there a way to transfer/convert the Nurbs texturing data to the subd surface so I don't have to layout the subd surface? I vaguely remember some script that wold do this for polys ... is this a way?

thanks for your time
ktpr

playmesumch00ns
06-01-2003, 08:26 PM
can't remember what the script was called, but the basic idea is you loop through all the vertices on your poly (subd) object, then pass their world-space positions to a closestPointOnSurface node that you have connected to the NURBS surface you want to transfer UVs from. Then you just query the CPOS node for the UV coords at that point and assign them to your poly object.

ktpr
06-01-2003, 11:09 PM
hmm this seems to work just fine:

1. Have your purty nurbs surface detached in a small area, making two surfaces that are open.

2. Convert both surfaces to polygons with control vertex option.

3. Poly combine then merge vertices.

4. convert to subd and you should be looking at a perfect uv layout

is there anything off about this? It seems to be the perfect answer for uv layout... I guess the uv layout doesn't follow anything normal so you would have to always project textures onto it ???

cheers
ktpr

CGTalk Moderation
01-15-2006, 07:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.