SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Animation / Mel Scripts & Programming / Extruding Faces over time
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 23-03-2004, 06:16 PM   #1
brosseau
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Extruding Faces over time

Hi, I'm new to this forum and am _very_ new to mel scripting. I am trying to extrude faces on a curve, but also do it over a period of time. I am starting with a poly cone and extruding the top half on a curve with enough added faces to produce a smooth snake-like shape. I can do that with no problem, but what I want is the process, from the small cone to the fully extruded "snake" to be animated.

Blend shapes and skeletons would be difficult because this will be a very long, snakey growing object with lots of twists and turns etc. I can't use paint effects because there will be lots of closeups as well and the "snake" will be the focus of the animation as it winds and grows around another object.

I was wondering if it would be possible to add a time variable script to the extrude faces command. Any ideas?

I hope this makes sense! Any suggestions would be greatly appreciated.
Thanks!
brosseau is offline   Reply With Quote
Old 23-03-2004, 06:29 PM   #2
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

I think you cannot use the actual extrude command for this. You could try to pull the effect off with the animated sweep feature. Look it up in the docs and you'll see what I mean...
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 23-03-2004, 11:34 PM   #3
brosseau
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks! I didn't know about animated sweeps and I _do_ see what you mean. I'll give that a try.
brosseau is offline   Reply With Quote
Old 31-03-2004, 08:50 PM   #4
strarup
Subscriber
 
Join Date: Jan 2003
Location: Denmark
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi brosseau,

eh... I'm not sure how well this method could be used... also because it will only work if histrory doesn't get deleted... which might get a long history list for an object...

but you can e.g. keyframe the extrude and the other things regarding an object during the modelling process...

I have atttached an little example which is done by keyframeing the "tweaks" from the modelling history of a polygon cube...

regards

Strarup
Attached Files
File Type: zip animextrudeabox.zip (261.7 KB, 25 views)
__________________
------------------------------------------------
Alex V. U. Strarup

One mistake can ruin it all...
strarup is offline   Reply With Quote
Old 01-04-2004, 06:57 PM   #5
brosseau
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That was really neat Strarup! Thanks for passing that along. I was wondering if there was a way to animate history, but I have also been looking specifically at animating the extrusion along a curve because I have so many growing in all different directions(vines growing up and engulfing a statue). But I found a tutorial on how to make a tentacle grow and I was able to modify it for my purposes. It was missing a couple of key steps and I couldn't get it to work for a while, but finally did and things are working fine now.

As far as what you did - did you right click on the tweak and then key it? It would definitely be a good thing to know.
Thanks!
brosseau is offline   Reply With Quote
Old 01-04-2004, 09:32 PM   #6
strarup
Subscriber
 
Join Date: Jan 2003
Location: Denmark
Posts: 338
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi brosseau,

yup... I just clicked on an object in the history, then the attributes appear in the bottom, and then there I clicked on the attribute I wanted to keyframe, and rightclicked, and chose "key selected"...

I have found the file and attached it...

btw. maybe you can use these scripts, or get some ideas from them...
distributeOnCurve by Edvard Toth...
nthd_extrude by Cory Clarke...
zgExtrudeWin by zach grachan...

regards

Strarup
Attached Files
File Type: zip animboxtest01.zip (30.3 KB, 27 views)
__________________
------------------------------------------------
Alex V. U. Strarup

One mistake can ruin it all...
strarup is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep faces on Sircharles Maya Basics & Newbie Lounge 2 07-12-2010 12:20 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.