We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Sjeiti Grass
Page Index Toggle Pages: 1
Sjeiti Grass (Read 550 times)
Sjeiti Grass
Jul 1st, 2008, 6:03pm
 
I'm trying to model some grass blowing in the wind in a 3D environment, but I'm not sure where to start.  I'm guessing I should use some sort of array to draw a bunch of spheres linked together and maybe use noise() for the movement, but I thought I'd ask if anyone had some useful source code to offer first before I just started from scratch.  I really like Ron Valstar's work found on his page (click the "grass" link under Processing):

http://www.sjeiti.com/?page_id=6

That's pretty much exactly what I'm looking for.  If anyone could offer some help that would be great.  I'm well-versed in Processing, so even just an overview or programming concepts would be of help.  

Re: Sjeiti Grass
Reply #1 - Sep 18th, 2008, 7:26am
 
http://www.openprocessing.org/visuals/?visualID=318

take a look at this, i hope it may be helpful.
Re: Sjeiti Grass
Reply #2 - Sep 18th, 2008, 3:21pm
 
Thanks for your reply Samuel. I actually figured this whole thing out like a week after I posted that. I've been using particle systems with dynamic curved lines to achieve my effect. I do like your method though, too! Very beautiful. It's running a little slow on my machine, though.
Page Index Toggle Pages: 1