But you guys…
I’ve already crated a grass generating script with an integrated wind engine!
It’s actually pretty slow though because it’s having to push so many polys per frame, but it works. The only major problem with it is that you lose all material information between frames. Maybe someone can look at my code and find a work around? There’s also a memory leak with NMesh.GetRaw(), so you lose about .1 seconds per frame until you restart blender… But if you want gray grass (or it’s probably no problem to do post processing), then get my script!
Here’s an example.mpg (300k)
It’s not the greatest example in the world because it’s so short.
It’s still kinda in Alpha, but here’s the instructions for animated grass:
1)Start out with very few blades of grass so you can see the general movement (1 blade per blenderunit is good, but you might go .5 or lower).
2)Move and resize the “Wind” empty until it simulates the style of wind you want. There’s some help included with the script if you scroll up to the top.
3)Select the base meshes (the terrain mesh you want the grass to grow out of) and hit Alt-P in the script window to initialize it.
4)Re-Select the base meshes and hit Alt-A to animate!
Sorry you have to have the base meshes selected for now. It’s still a WIP.
Download it here:
You must install Eeshlo’s dynoise module (dynoise.dll/dynoise.so) in the same directory as Blender’s executable.
You can download this file from http://www.stormpages.com/eeshlo/VariousPython.htmlunder the heading “Dynamica Noise module”