Any good ideas how to get a twisting texture onto a swept spline (like a candy cane)?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 05 May 2006   #1
Question Any good ideas how to get a twisting texture onto a swept spline (like a candy cane)?

Hi folks,

I can't seem to figure out a good way to get a swirling texture onto a swept spline object, much like a candy cane. The object I'm dealing with, however, is much longer and has many more turns than your typical garden-variety candy cane, but the principle is pretty much the same. The only distinction is that the object already exists and has been tweaked into shape, so I don't expect to go recreating it using a cylinder and deformers just so I can use a cylindrical UV mapping or some such thing.

Any ideas? Has this been covered in any tutorials you can recall? I have C4D 9.6 studio, so if there's a way to get it done using BodyPaint, I'd be interested in that as well. Thanks.

Jeff Andrews
Chrome City Studios / FX Models
Old 05 May 2006   #2
well, the easiest way would be to jsut use tiles in lines mode and set it's rotation to be angled (you'll have to work out the angles at which the lines connect properly). the second easiest way would be to use the rotation control in the sweepnurbs object (and make sure that your path spline is subdivided enough to avoid pinching).
The Third Party | Homepage | My Reel
"You need to know what you're doing before you start, and to start because you need what you're doing."
Old 05 May 2006   #3
Adding to Per's good suggestions, I'll say that I usually make a single tileable texture of the repeating pattern in AE using Motion Tiles to insure the stripes meet up properly.
Old 05 May 2006   #4
I'm not sure if I got the point.

I did this texture by using a tiles shader (lines) in a distorter. Distortion texture was a horizontal B-W gradient. Amount of distortion has to be 200%.

Hope it helps.
Best regards

Old 05 May 2006   #5
Maybe I'm missing something, but shouldn't this be far less complex than it sounds? You don't have to mess with rotation properties or anything like that.

You want to simulate that single stripe that swirls around the spline in a helix-like fashion. You can't use a standard gradient procedural since it will only cover multiple color bands instead of a single swirl. The trick is really in the texture, assuming you want to take that route. To be honest, it took me longer to figure out what I needed than to actually implement it.
DISCLAIMER: The views presented herein do not necessarily represent those of my brain.
Old 05 May 2006   #6
Thanks everyone for all the excellent suggestions. I should be all set now. I was drawing a blank on this. Thanks for getting me on track.

Jeff Andrews
Chrome City Studios / FX Models
Old 05 May 2006   #7
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:48 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.