Blender Underground

Away from the watchful eye of The Man
It is currently Thu Jun 20, 2013 3:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Twisty Curvy
PostPosted: Tue Sep 18, 2007 2:28 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
I wanted to post something on creating twists and curves in Blender, and invite you all to chime in with questions, or additional/alternate methods of accomplishing similar results.

Here is an item that can be thought of as a length of rope. It's dynamic, in that the shape of the curve can be modified easily with a single step:

Image

First, the Twisty Part

1) Start with a cube and scale it on X and Y to about 0.3. You can do this by pressing S, then SHIFT+Z for an XY plane constraint.

2) Next scale it up on the Z axis to about 10.0.

You should now have a fairly long rectangle

Image

3) Add some horizontal loops with the Loopcut tool. Press CTRL+R and scroll with the mouse wheel until you have about 25 cuts. Once in Loopcut mode, you can also just key in the value 25 and press enter.

Image

Remember you can see the number of cuts in the info readout, located in lower left portion of the 3D header. You might also notice a message that reads “(S)mooth: off.” This is what we want, no smoothing of the cuts. Although it’s beyond the scope of this tutorial, you might want to press the S key to turn smoothing on and note the results when you confirm the loopcut.

4) Press CTRL+2 to add a Subsurf modifier at subdivision level 2, and activate the “Apply Modifier to Edit Cage” button in the Subsurf properties.

We need to duplicate all of the vertices to create 3 separate strands, and arrange them in a triangle of sorts.

5) Switch to Top view, press A to select all vertices and press SHIFT+D to duplicate and move the newly duplicated vertices to the side. Duplicate again, and position these toward the top, forming a triangle from 3 strands.

6) Position your 3D cursor at the top and center of the model and switch the pivot mode to 3D cursor. This is important in getting the twist to occur the way we want.

Image
When you change the Pivot mode, you should see the Transform Manipulator move to the location of the cursor.

Image

7) Switch to Side view and activate Proportional Edit with the O key. Change the falloff type to “Linear.” We want a direct falloff of twist from top to bottom.

Image

8) Select only the top set of vertices. You should have 12 selected. Press R to rotate and Z to constrain around the Z axis. You’ll want to rotate about 1500 degrees.

You should notice the circle of influence of the Proportional Edit tool. If this circle is not big enough, you’ll see the twists stop abruptly somewhere along the length of the model.

Image

9) Adjust the size of the Influence Circle with the mouse wheel until the twists extend down the length of the model.

10) Left click to confirm, and apply Set Smooth from the Editing buttons.

Your twisty rope should look something like the below image.

Image

Next, the Curvy Part

1) From Front View, press SPACEBAR and Add->Curve->Bezier Curve. (Bezier is pronounced beh-zee-aye.) Make sure Proportional Edit is off. Remember you can toggle this with the O key.

2) While still in Edit mode, rotate the new curve 90 degrees so that it is vertical, and scale it up to about 10.0.

3) Position each end so that it is roughly aligned with the top and bottom of the rope model. (If it helps, switch to wireframe with the Z key so you can see this a little easier.) The curve should already be about the same size as the model, so this should be easy to do.

Image

4) Tab out of Edit mode and select the rope model. From the Modifiers panel, add a Curve modifier. From the Curve modifier properties, enter the name of the Bezier Curve in the Object (Ob) box. The curve’s name should be “Curve.” Note that it is case sensitive.

Image

5) Select the Y axis from the Curve modifier properties.

You’ll want to reposition the model so that it aligns again with the Curve object. Once you do, you’ll find that the model is deformed very effectively along the Bezier Curve object.

Image

NOTE: The Origin Point of the Curve determines how well it aligns with the object. The origin of the model should match the origin of the curve for perfect alignment. If you create your Curve object at the very center of the model it deforms, it will most likely align perfectly on the first try, without having to drag the model around to align it with the Curve.

6) Select the Curve object and TAB into Edit mode.

You may have problems selecting the Curve object at this point, because it is inside of the rope model. You can a) switch to wireframe mode; b) ALT+RMB at the center of the rope model—this brings up a selection menu containing any object under the mouse cursor. Remember that in Edit mode, ALT+RMB is Edge Loop Select; but in Object mode, it brings up the Select Object menu. You may have to hunt with the mouse a little before you find the curve to select it.

7) Make sure both Curve vertices are selected by toggling with the A key, then press W for the Specials menu and choose Subdivide. This creates a new curve vertex between the two.

8) In the Editing context, from the “Curve and Surface” panel, turn on the 3D button, which is next to the “Back” and “Front” buttons. This will allow you to move the curve in full 3D space, instead of on the original 2 dimensions it was created on. If you ever have problems moving curve vertices, it could be that you don’t have 3D mode active.

Image

You can now position your middle curve vertex to tweak the path of the rope, as well as adjust the Bezier handles for different angles and curve radii.

Image

Please feel free to improve upon this and post your methods and results. You might want to experiment with things like modifier stack order, number of loopcuts, using a cylinder instead of a cube, etc.


Last edited by Apollos on Thu Sep 20, 2007 10:30 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 2:29 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
If you find any missing steps or mistakes, or if you run into any snags, let me know and I'll get it updated!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 2:52 pm 
Offline
Director
User avatar

Joined: Mon Sep 03, 2007 4:15 am
Posts: 1529
Location: The Tottenham, London, UK
the quickest way to get the 25 cuts is to use the loop cut method (CTRL + R) and type 25 with the keyboard. :D

Very nice tutorial, Apollos.

_________________
Choose a job you love and you will never have to work another day. Check Out My Website and my Blog


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 3:06 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
Thanks Dave! :D

DaveC wrote:
the quickest way to get the 25 cuts is to use the loop cut method (CTRL + R) and type 25 with the keyboard. :D


Excellent tip too. 8)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 3:49 pm 
Offline
Specialist
User avatar

Joined: Mon Sep 03, 2007 4:52 am
Posts: 83
Location: Richmond, VA
rotating 1500 didn't do the exact result as yours, so I had to rotate 900 a bunch of times. Are you still using 2.44?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 3:52 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
Yep I'm still on 2.44.

Were you using the Linear falloff setting?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 4:02 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
DukeProtocol wrote:
rotating 1500 didn't do the exact result as yours, so I had to rotate 900 a bunch of times.


Perhaps your strands were longer than 20 units? If you read the scale value 10.0 as 100 in the tutorial you would have to twist several times more to get the same look.

I'm just speculating on various reasons this might have happened...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 7:20 pm 
Offline
Director
User avatar

Joined: Mon Sep 03, 2007 12:02 am
Posts: 1037
Location: Kanaduh Eh!?
I got frustrated enough with this that I shut down blender.


edit: all is well I figured it out. :roll:

_________________
Image


Last edited by Darth_Gimp on Tue Sep 18, 2007 8:05 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 7:52 pm 
Offline
Specialist
User avatar

Joined: Mon Sep 03, 2007 4:52 am
Posts: 83
Location: Richmond, VA
lol Darth.

I am using 2.45 with Linear Falloff and I followed the tutorial exactly. It was 20 units long.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 7:57 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
Maybe your first suspicion was correct then Duke, that there's something about 2.45 that's effecting it. Hope it's not a bug.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 9:07 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
Darth_Gimp wrote:
I got frustrated enough with this that I shut down blender.


Hey Darth, let me know if there's something in the tutorial that can be clarified or reworded to make this smoother.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 10:57 pm 
Offline
Director
User avatar

Joined: Mon Sep 03, 2007 12:02 am
Posts: 1037
Location: Kanaduh Eh!?
At first Blender wasn't working right, so I didn't have the circle of influence. So I restarted it and then that worked.

Somehow, I missed a few steps and thus other things failed (as they should). In the end it is my thought that tutorials like this work best if you take the time to do ALL the steps. LOL I feel silly. :oops:

I got it working in Blender 2.44 but also had an issue with the twist and opted to do the multiple twists. :wink:

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 11:34 pm 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
Darth_Gimp wrote:
I got it working in Blender 2.44 but also had an issue with the twist and opted to do the multiple twists. :wink:


I'm suspecting some weirdness with 2.45, there may be some unresolved bugs. Blender Nation posted their article on 2.45 on September 15th. It's now the 19th and no announcement from the Blender Foundation (blender.org). I am expecting an RC3 before the final release, but that's just my own speculation.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 11:45 pm 
Offline
Director
User avatar

Joined: Mon Sep 03, 2007 12:02 am
Posts: 1037
Location: Kanaduh Eh!?
http://www.blender.org/download/get-blender/

what's that say to you?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 12:00 am 
Offline
Director
User avatar

Joined: Sun Sep 02, 2007 6:56 pm
Posts: 3356
Location: Sacramento, Ca
Darth_Gimp wrote:
http://www.blender.org/download/get-blender/

what's that say to you?

"sho'nuff, there it is! My bad! :oops:

However still no announcement: http://www.blender.org/news-archive/. (Sept 12 latest news post as of this message.)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr