Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Script to Generate Snail Shells  (Read 23014 times)

NickE

  • Full Member
  • ***
  • Posts: 168
    • View Profile
Script to Generate Snail Shells
« on: June 11, 2008, 06:56:57 pm »

Back when I was going to enter the "Need for Speed" competition over on Animanon, I adapted Steve's spring script to produce pretty realistic snail shells.  Unfortunately, I ran out of time for the competition.  Here is a short clip starring a shell.

youtube.com/v/1sm-F7Gosvw[/youtube]]http://www.


Attached is the script, a sample render of two types of shells, and the parameters needed to reproduce those shells.  To produce the renders, I converted the parametric shape to a mesh, deleted the cap face, used the shell function to add thickness, and textured.
Logged

lynn22

  • Sr. Member
  • ****
  • Posts: 591
    • View Profile
    • 3D Animation
Re: Script to Generate Snail Shells
« Reply #1 on: June 12, 2008, 04:18:16 am »

The shells look lovely, thank you for letting us have this script.
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: Script to Generate Snail Shells
« Reply #2 on: June 12, 2008, 05:01:17 am »

That is a magnificent script!  I replaced my other spring script with it as it's capable of doing both springs and snail shells and more!
Magnificent job once again.
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1146
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Script to Generate Snail Shells
« Reply #3 on: June 12, 2008, 05:02:35 am »

another great script .....based on spring script I notice ?
Logged
O

thecolclough

  • Sr. Member
  • ****
  • Posts: 890
  • 3D Ignoramus 1988-2002, Anim8or User 2002-present.
    • View Profile
    • www.mattghc.com
Re: Script to Generate Snail Shells
« Reply #4 on: June 12, 2008, 06:25:25 am »

haven't got time to play with this right now, but i'm going to have to have a go soon.  this looks brilliant!

- colclough
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Script to Generate Snail Shells
« Reply #5 on: June 13, 2008, 02:33:36 am »

Cool script, NickE!  Is it OK if I post this in the scripts download page?
Logged

NickE

  • Full Member
  • ***
  • Posts: 168
    • View Profile
Re: Script to Generate Snail Shells
« Reply #6 on: June 13, 2008, 11:33:16 am »

I would be honored, but the honor is really yours, Steve, since all I did was slightly modify your spring script.
Logged

csf

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • CSF On The Web
Re: Script to Generate Snail Shells
« Reply #7 on: June 17, 2008, 03:11:02 pm »

I m using 97.b and I cant get anim8or to load this script my other scripts are loading fine though.
Logged
AKA coaster sim. fan on the old boards

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Script to Generate Snail Shells
« Reply #8 on: June 18, 2008, 01:18:55 am »

csf: Have you put the script in the same directory as the others?  Enable the Script Console (in the File->Configure menu) and see if there are any errors reported when it tries to load it.  You'll have to exit Anim8ot and restart it to get the script loaded.\

NickE: Can you give me some good preset values for your script to make a snail like in your picture?  I want to change the defult values in the script so that it makes a good snail by default.  It's a little tricky to set everything just right.
Logged

NickE

  • Full Member
  • ***
  • Posts: 168
    • View Profile
Re: Script to Generate Snail Shells
« Reply #9 on: June 18, 2008, 02:37:31 am »

Steve,
The initial post of this thread has two screen shots of the parameters used to create the shells shown in the render.  Did you want something different for the preset?
Logged

csf

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • CSF On The Web
Re: Script to Generate Snail Shells
« Reply #10 on: June 18, 2008, 02:39:20 am »

Yep its in the same directory as the rest of the scripts (which are working) I enabled the Script Console and it does not load it up during start up. if I load it from load script it would compile with no error.

After some experimenting I realized the file was . A8S instead of .a8s once I fixed that it now works (not sure where the caps came from).
Logged
AKA coaster sim. fan on the old boards

Aarangend

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Script to Generate Snail Shells
« Reply #11 on: August 05, 2008, 10:07:25 pm »

OKay... could someone please tell me how to use scripts? cuz I have like no idea!
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1146
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Script to Generate Snail Shells
« Reply #12 on: August 06, 2008, 02:47:37 am »

Parametric scripts are the ones that appear on your GUI as little icons .

You need to make a folder on your compter like scripts  or (plugins) then put all your downloaded scripts into that folder.

Now you must load up anim8or and go file/configure

when the configuration editor appears you will see a box for scripts , just browse to the  folder that you have made, then make sure preload scripts is ticked.

Some scripts are not parametric and run from the menu Scripts.



« Last Edit: August 06, 2008, 04:44:18 pm by kreator »
Logged
O

Aarangend

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Script to Generate Snail Shells
« Reply #13 on: August 06, 2008, 02:24:46 pm »

oookay... I will try that
Logged