Growing a plant using an array

I’m hoping to create a procedural pland addon for blender, but I’m having a hard time getting started, due to the constant flux of blender 2,5 coding and the lack of documentation on how a complete noob can get started.

This is why everything is done using an arrar so far, it would be nice to add a bit of randomisation and force, but I dont have the know how as yet.

The Stalk is created by arraying a poly tube along a path in z, with a twist and scale added using an empty, the merge option keeps evetthing togeather, and a curve modifier also assined to the same path for control

The flower head is a seperate piece of geometry assigend ad a cap to the above array

The leaves are also arrayes in z bit with a larger offset and a twist using another empty.

This is a quick and dirty proof of concept.
http://vimeo.com/15358662

I just with you coudld do an array of arrays, that would make creating a tree really easy :smiley:

The blend file is here for anyone who wants to experiment:

www..org/​blend/​3778
Edit
paste all why does it keep getting stared out?

My thanks to Blender Cookie

blendercookie.com/​2010/​09/​24/​modifier-series-using-the-array-modifier/​

I’m on OS X and I can’t load your file with latest build (32184). But I got the idea with your video, and what a great idea!!! I really want to play with your file. I will try to find some old build… who knows…
Thank’s for sharing!

Ha! Campbell fixed the problem now:
“own changes in recent commit broke curve loading because the curve type checking function looked in the curves listbase.”
Very interesting idea!!! Thank you again for sharing!!!

Got an update, for the caps on the array, the geometry can also be an array… great for creating petals and leafs

What I am having trouble with is assigning a seperate texture to the petals… would welcome any ideas?

There is a link to the graphic all file on the vimeo site:

http://www.vimeo.com/15391974

http://i163.photobucket.com/albums/t301/pharion/0009.png

Great method for effects with vegetation, like this in promotion clip for Dacia Duster (from 0’50")

Sussed the texturing, just need to use UV Textures

http://i163.photobucket.com/albums/t301/pharion/dandelionTexture.png

I then had the idea to create a plane, assign some hair particles and set the object to the stem… IT WORKED… I love blender, I feel like a spaceman going into the unknown, discovering things that have never been seen before :smiley:

http://i163.photobucket.com/albums/t301/pharion/2-4.png?t=1285788762

The video is still being processed, thanks for your interest everyone:

https://vimeo.com/15403032

Doing a rose now, found out that you can also apply a cloth modifier to the leaves… the awesomeness of blender appears to have no bounds :smiley:

http://i163.photobucket.com/albums/t301/pharion/rose.jpg

Yes it its a cool way to get complexity, I found when I tried this earlier this year that the cloth sim reeeeally slows down with all those leaves etc. I was applying it to palm fronds as they are very regular and easy to duplicate out. I couldnt get the right balance between stifness and flopiness though. And the mapping was incorrect over a variety of leaves.

Nice trick !
Will try …

Nice results man! I also like the music in this video: http://www.vimeo.com/15391974 , sounds like prodigy. What is the artist/track name?

Sorry, I diddnt see hat anyone had replied to my last post here, the music is by The Phaze called Dirty angel, this website has a load of free music available by new artists on a creative commons (just give them credit and a donation if you wish) http://www.jamendo.com/en/creativecommons

Heres a tree I’ve done, but will post again soon as I’ve found that you can get more variation using the cv’s in the curve, by scaling tham with an "Alt S "

https://vimeo.com/18045271