Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 23-03-2004 , 07:16 PM
Registered User
Join Date: Mar 2004
Posts: 7

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!

# 2 23-03-2004 , 07:29 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
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!
# 3 24-03-2004 , 12:34 AM
Registered User
Join Date: Mar 2004
Posts: 7
Thanks! I didn't know about animated sweeps and I _do_ see what you mean. I'll give that a try.

# 4 31-03-2004 , 09:50 PM
Subscriber
Join Date: Jan 2003
Location: Denmark
Posts: 338
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... user added image

regards

Strarup

Attached Files
File Type: zip animextrudeabox.zip (261.7 KB, 337 views)

------------------------------------------------
Alex V. U. Strarup

One mistake can ruin it all...
# 5 01-04-2004 , 07:57 PM
Registered User
Join Date: Mar 2004
Posts: 7
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!

# 6 01-04-2004 , 10:32 PM
Subscriber
Join Date: Jan 2003
Location: Denmark
Posts: 338
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"... user added image

I have found the file and attached it... user added image

btw. maybe you can use these scripts, or get some ideas from them... user added image
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, 326 views)

------------------------------------------------
Alex V. U. Strarup

One mistake can ruin it all...
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads