Page 1 of 2 12 LastLast
Results 1 to 20 of 22
  1. #1
    Member
    Join Date
    Mar 2010
    Posts
    1,119

    Grow radius to animate a curve

    Hi, there are many ways of animating vines or strokes -seen a couple of questions these days- and here's yet another one ;)

    Since rotobezier is around I've been thinking in animating the radius to fade a curve 'visibility', this script does that by keyframing each point, it works with bezier and nurbs -beziers seems to work better- and you can even feed it with a mesh or a text and it will do the conversion.

    You should setup start frame and length, plus a fade time if you want the curve to disappear.
    It is advisable to subdivide the curve if you want to give extra detail to the animation.
    Options like bevel depth and resolution can be adjusted later.



    the updated script: http://dl.dropbox.com/u/16486113/Blender/radius_grow.py
    a little video: http://dl.dropbox.com/u/16486113/Blender/torus_grow.mp4

    have fun...
    Last edited by liero; 15-Jun-11 at 00:06.



  2. #2
    Wow, yet another magic script from Liero. Thank you!
    DVD slideshow GUI - an open source multi-purpose slideshow studio.



  3. #3
    Member Atom's Avatar
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    11,632
    That is very nice.

    Instant animation, gotta love it
    I rarely use Blender anymore.
    Houdini Indie is only $200.00 and Apprentice is free!
    Atom's Links Page



  4. #4
    Member
    Join Date
    Mar 2010
    Posts
    1,119
    Here's previous video only that in vimeo... just threw a torus knot on scene -what a cool addon- and then ran this little script... Try the same with different settings. Remeber you can even run it on a mesh or a text. Subdivision are important here.




  5. #5
    Member
    Join Date
    Jun 2009
    Location
    Springville, Utah, USA
    Posts
    1,302
    Here's a quick test applied to Suzanne (I applied one subdivision before running Grow Radius). The script is incredibly easy to use:




  6. #6
    Member Atom's Avatar
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    11,632
    Nice, it almost happens too fast.
    I rarely use Blender anymore.
    Houdini Indie is only $200.00 and Apprentice is free!
    Atom's Links Page



  7. #7
    Member
    Join Date
    Mar 2010
    Posts
    1,119
    @benu that was fun -maybe not so for the monkey-
    here is an updated version of the script, I tried to make it even simpler to use, but it will work better on a 37260 build at least... please give it a try and tell me what you think!

    get new version from the first post
    the old one here




  8. #8
    Member
    Join Date
    May 2002
    Location
    Canada
    Posts
    410
    Thanks for the script(s) liero; very easy to use.

    I made your standard animated bulging tube (with a few tweaks to the f curves):

    http://users.xplornet.com/~gimble/theme1.png

    Here's the blend file:

    http://users.xplornet.com/~gimble/animated_bulge.blend
    Last edited by Gimble; 19-Jun-11 at 17:24.



  9. #9
    Member steeve's Avatar
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    559
    lovely stuff, thanks!



  10. #10
    Member
    Join Date
    Mar 2010
    Posts
    1,119
    thanks Gimble and steeve... nice to see you had fun with this



  11. #11
    Wow this is awesome.



  12. #12
    Member 3pointEdit's Avatar
    Join Date
    Sep 2005
    Location
    Brisbane, Australia
    Posts
    8,682
    I am about to try it, but how do I apply the curve to another object, like Suzanne then grow it?
    Cheers, David ___________"awesome in space and other places".
    ________Follow me on twitter @3pointedit
    _____________ Check the Youtube Channel for tutorials. Or my Sketchbook



  13. #13
    Member
    Join Date
    Mar 2010
    Posts
    1,119
    just select the mesh and click on button, it will do the conversion for you... maybe go edit mode and press the V key > automatic to change handles type...

    but try it on you own curves, the point density there is a key factor to get nice results



  14. #14
    Member 3pointEdit's Avatar
    Join Date
    Sep 2005
    Location
    Brisbane, Australia
    Posts
    8,682
    Yes I find that you must be aware of the vertex density (to high and Blender chokes) and I couldnt use a 2d curve with faces.
    Cheers, David ___________"awesome in space and other places".
    ________Follow me on twitter @3pointedit
    _____________ Check the Youtube Channel for tutorials. Or my Sketchbook



  15. #15
    Member
    Join Date
    Mar 2010
    Posts
    1,119
    you can't have fills and radius -or a bevel object- in the same curve in blender... use two objects
    and try curve simplify addon to reduce point count, too dense curves are bad ;)



  16. #16
    Member
    Join Date
    Apr 2009
    Location
    Romania
    Posts
    30
    Hi!

    I am trying to use the grow radius script. No matter the object I choose(curve, polygon, subdivided or not) when I hit Keyframe Curve I get the following error:

    Code:
    Traceback (most recent call last):
    File "C:\Program Files\Blender\2.59\scripts\addons_extern\grow_radius_addon.py", line 81, in execute
    obj.data.use_fill_fornt=  obj.data.use_fill_back=False
    AttributeError: 'Curve' object has no attribute 'use_fill_front'
    location:<unknown location>:-1
    location:<unknown location>:-1

    I use Blender 2.59.4, r40851M, built by bat3a from Graphicall. I am on a Windows 7 64 bit machine. Pyhon version is 3.2.2.

    Regards,
    Christian.



  17. #17
    Member Meta-Androcto's Avatar
    Join Date
    Aug 2006
    Location
    australia
    Posts
    4,046
    hi, comment out line 81 & the script works again.



  18. #18
    Member
    Join Date
    Mar 2010
    Posts
    1,119
    I saw the changes to curves some days ago but didn't think of updating scripts, thanks for reminding..! this should be fixed now. And remember to subdivide the curve if needed.
    Thanks Meta-Androcto, checking other curve scripts now... done, I think I've fixed and uploaded them all
    Last edited by liero; 08-Oct-11 at 08:04.



  19. #19
    Member
    Join Date
    Apr 2009
    Location
    Romania
    Posts
    30
    Meta-Androcto, thank you for reply. I tried your trick but it only works on a limited tipe of curves. For example it does not work on polygons.
    Liero, I just downloaded the updated versions of the scripts and works like a charm. Thank you very much for sharing with us all that works and efforts to do marvelous things.

    Regards,
    Christian



  20. #20
    Member Meta-Androcto's Avatar
    Join Date
    Aug 2006
    Location
    australia
    Posts
    4,046
    hi Liero,
    I've added some tools & reorganized the menu & some renaming
    The script I made from yours is called 'Handwriting'


    Link to script is here: handwriting_addon.py

    Thanks Liero for what I consider are some of the best scripts for blender.



Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •