PDA

View Full Version : Nurbs texturing question !


chuong
11-28-2004, 12:30 PM
Hi all,
One problem i have tried to search but it seem nothing i can find on the internet.
My question is : Are there another better way to texture a nurbs surface ?(another is because i only know projection method). I think that i cannot rearrange UV coordinate of the nurbs surface like polygon, so my i must create an image file fix with the UV coordinate of the nurbs surface, but it's so difficult with me to do that. Now i only use bodypaint to paint directly on my nurbs surface.
I remember that there is a tutorials teach you how to texture a nurbs surface dragon.
In this tutorial, he convert a nurbs to polygon, use deep paint to paint on the polygon, export the image texture file, then map it to the color channel of the shader(blinn) of the nurbs surface. Oh no no , i cannot understand that, how can the UV coordinate of the polygon is the same as the UV coordinate of the nurbs surface so he could use the same texture file for both ?
Ah, here is the link :www.tutorialized.com/Texture-Map-Nurbs-Dragon/4801
I'm sorry, if the link not work, please search with that text on google.
Thank you.
:)

ramy
11-29-2004, 05:16 AM
Texturing nurbs can be tricky and is very different from polys. With poly's you have a uv coordinate system that can be layed out by mapping. There isn't such thing with nurbs surfaces. The equivalent of the poly's uv maps with nurbs is just one map in a way. This is the best way I have found to paint texture maps for nurb surfaces:

- In 3D, apply a shader to your surface and paint using a 3d brush tool. Paint general areas with just marking them with arrows and labels. Circle around distinct areas of change.

-Export the map that you just painted on the shader to a file just by saving the map. This should automatically create the map with its directions for the model.

-Because it's a nurbs surface, the map will look very distorted in areas to accomodate for the geometry of the model because the model is one plane.

-In a painting software package paint on top of the map you saved copying the similar distortions already created in the saved file.

Hope this makes sense. This is a brute force way of making maps for nurbs. Ideally procedural maps are best for nurb surfaces.

CGTalk Moderation
01-20-2006, 01: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.