Hello,
I am currently trying to place edge loops along a curved object that has been extruded along a CV Curve. For texturing purposes, I want to place an edge loop every 1000 units, and I figured the easiest way would be to measure out 1000 units using the distance tool and line up the edge loops with each 1000 unit marker. Is there a way to do this in Maya 2011?
Replies
Explain. I don't see why this is necessary.
The artist I am working with is making a tileable texture so that we can simply lay the UV's on top of each other and texture the entire track like that. but to do that we need all the sections between each edge loop to be relatively equal in size so the texture doesn't stretch too much.
What exactly is arclen? and I am trying to measure every 1000 units along the curve.
In the script editor, arclen (arc length) will tell you the exact length of a curve. So for instance if you have a curve named curve1, and run:
arclen curve1;
It will tell you the length of curve1. So lets say you select your curve, run the arclen mel, and it tells you that your curve length is say 5236.51 units. What we can do with this is the following:
1. Create a circle curve with diameter larger than the polygonal object you want to subdivide
2. Set your timeline length to be larger than the measurement from running arclen
3. Animate > Motion Path > Attach to Motion Paths □
- The object you are animating is the circle curve, the motionpath is your curve
- Time Range: Start/End
- Start Time: 0
- End Time: The number from running arclen
4. What you have now is a circle that moves 1 unit along your curve for every 1 frame on the timeline (or close to it depending on how many decimal places your measurement from arclen is, as the timeline truncates to 3, so it may be off if it had 4 or more). Every 1000th frame should be 1000 units.
5. Animate > Create Animation Snapshot □
- Start Time: 0
- End Time: The number from running arclen
- Increment: 1000
6. Now you have a copy of the circle curve at every 1000 units along your curve
7. Place your edgeloops as close to the circle curves as possible.
I'm thinking this should work. Or at least be faster than repeatedly measuring out every 1000 units using the measure tool, and then placing an edgeloop.
Ah, that makes sense.
Wow, this seems oddly more difficult than it should be.
I wonder if placing bend modifiers to bend a straight track would be easier/faster? Just brainstorming.