상세 컨텐츠

본문 제목

Rebuilding Curves

카테고리 없음

by ktekarnewtu1979 2020. 2. 8. 23:30

본문

Yes you are all very close. Rebuilding curves and surfaces has to do with something called parameterization of parametric curves and surfaces. In the Cartesian system we are all used to S(x,y,z) describing a point in space S. In a parametric CURVE the function would look like C(X(t), Y(t), Z(t)) and describes any point on the parametric CURVE C. Note that the (X,Y,Z) coordinates of the curve function C are all functions of the PARAMETER t.

Hence 'PARAMETRIC' curve. Think of a parametric surface being made up of a system of parametric curves running perpendicular to each other which we call the U and V directions. There are two basic type of parameterization in Maya - Uniform and Chord length Here is a link that describes the two: But do not let the long scary name frighten you. With NURBs every curve of surface is described as a function. Think of the parameteriztion as the coordinates you feed into the function to determin your position on the surface of the curve. So for a line you have L(x) where x describes the position along the line L and S(x,y) describes the position on the surface S. Now L and S would would describe Cartesian system.

To rebuild a curve with uneven knot spacing but a more accurate fit, use the FitCrv command. Sets the number of control points used to rebuild the selected curves. The number of control points in the original curve is in parentheses. Rebuild Curve Show/Hide Hidden Text Use the Rebuild curve tool to rebuild a curve with a user-defined number of points, distributing them at a constant distance while still keeping the curve's original shape.

NURB's uses parameterized functions as described above and I doubt anyone wants to sit through a lecture on the mathematics of parameterized non-rational-bsplines (NURBs). So I will try to just describe the important bits. (1) what is parameterization? (see the link above) (2) why is rebuilding things important? For the second part it's easier for me to show you then to explain it because explaining requires more math-speak and I don't want to over complicate this any more then I already have so far lol. For those that are having trouble sleeping here is the best (easiest) to grasp description of parametric curves and surfaces. BEWARE THIS WAY THAR BE MONSTERS!.

Standbye I will need 10 minutes to record something that will hopefully demystify things and be useful to the SM community. Sorry I got side tracked I just finished the video and I apologize that I got a little yabbery and it ended up at 25 minutes but I hope you will stick it out as I think it will help you to be less afraid and mystified by NURBs.

Some of the good take aways are: 1. What is paramaterization? Why does maya support two kinds (Uniform and Chord Length)? What is a NURB?

What is the degree of a curve and why does Maya support 1, 2, 3, 5, and 7 when most people only use 1 and 3? Why is rebuilding curves and surfaces important and how is rebuiilding related to parameterization?

It is encoding now and then I have to upload it. I may have to break it into two parts if it's to long.

I hope you guys find it helpful. I believe NURBs are very powerful and hope this will make them a little less mysterious and scary. I will post the link to the video as soon as it's encoded and uploaded. Okay guys here is the video. Once again sorry for the length (25 mins) I did not plan anything out and tries to include as much info as possible.

I hope you can find the time to watch it all and please let me know if it helped. NOTES: I just did this of the top of my head. I rambled on a bit but for some reason my vision is all blurry today and I was having trouble concentrating and there was a lot of stuff I wanted to try and cover.

Building Curves

A couple things I want to correct: I said 'even number' a lot and what I meant was Integer number. For a curve or surface to have uniform parameterization it will always be 0 at the start and end in an Integer number. Also I would recommend alway paramterizing from 0 span so you can see that the max value equals the number of spans.

It is not necessary rebuild a surface or curve after every operation. However, you want to rebuild and clear history before you attach and then rebuild after attaching. If you attach, then sculpt, then rebuild your surface can change.

When I was showing the cv's do not move but the edit points do and was struggling to find the words to explain. But the simple explaination is when either end point has to be changed to a Integer or changed to match the number of spans the edit points have to also be redistributed to maintain uniform parameterization and that is why the edit points shift. Anyway I hope I sid not bore people to death. I don't believe they are uses much in the movie industry beyond basic massing and creating animation paths and particle effects.

NURBs used to be used for character modeling 15+ years ago but have fallen out of favor. I have seen them use effectively within Maya to create parametric objects like bridges and such which in the end are polygonal but at the core they are controlled with underlying NURBs constructs. My background is in CAD/CAM/CAE automotive surfacing, linear and non-linear finite element analysis. CAD (Computer Aided Design) and applications like - Alias Automotive, Solid Works, Catia, Inventor, AutoCAD, Rhino, etc.

All use NURBs pretty much exclusively. In surfacing and part design applications NURBs have serious advantages over polygons in efficiency and precision. They are not as flexible as polygons when it comes to texturing and deformation due to patch seams. They are not nearly as flexible as polygons when it comes to sculpting which is the latest hotness in the movie and entertainment industry. Due to my surfacing background I feel NURBs are very powerful and under utilized in Maya. But unfortunately Maya's NURBs tool set has, from the start, lacked some critical features that you get in true surface modeling apps that make them very difficult to use effectively in Maya. In addition both Autodesk and Alias before them have really let the NURBs tools in Maya languish and so now even the tools that are available are horribly antiquated.

Many of the NURBs features in Maya cannot even be used at all due to lack of required support tools. Examples are mentioned in the video above - 2nd, 5th, and 7th degree curves and surface support and chord length parameterization require tools that are missing completely in Maya to be used and almost seem to be included simply as vestigial remains of the surfacing applications from which Maya was derivered (StudioTools: Now called Alias Automotive).