View Full Version : Crowd simulations with Fluids
Bernard397 10-22-2005, 02:24 PM Hello,
How can you do crowd simulations with Maya Fluids? Is it possible to sketch a global workflow?
I have no idea how it can be done.
thanks,
bernard
|
|
luispages
10-22-2005, 02:59 PM
I never heard of that before....
Bernard397
10-22-2005, 04:01 PM
Hello,
4 th last point in Outline:
http://www.alias.com/eng/education/training/masterclasses/siggraph_masterclasses_2004/duncan_neehar.shtml
Would love to hear some more about this "unknown" fluids technique !
thanks,
bernard
luispages
10-22-2005, 04:18 PM
Yeah I'll keep my eye on this thread, hopefully Duncan has a chance to let us know :)
vfortin
10-24-2005, 02:11 PM
I find the easiest way to manage crowd individuals is particles.
You could drive them with the fluid using this technique:
http://www.zjprogramming.com/html/fluid_particle.html
I'm not 100% sure Navier-Strokes is the best way to go for natural crowd behaviours but combined to a per-particle 'secondary intelligence', I think it could lead to some interesting effects without too much programming.
Anyone tried this already?
Duncan
10-25-2005, 03:51 AM
The basic technique outlined on the dvd is to use a 2D fluid as either a force(make conserve zero on particles when doing this) or a velocity reference grid. The incompressibility solve on the fluid allows one to create flow paths that naturally avoid collisions. One can paint the velocity, solve one step for the incompressibility, set initial state on the fluid then make the velocity grid static. One can have the fluid collide with objects like buildings. Painting a single direction will then cause the flow to travel around the buildings, yet avoid self collisions of the individual moving characters. It is somewhat complicated to explain here... you can always get the dvd.
Duncan
vfortin
10-25-2005, 01:41 PM
Sounds great, thanks Duncan.
luispages
10-26-2005, 04:32 AM
Thanks Duncan, it sounds really interesting :thumbsup:
Bonedaddy
10-26-2005, 07:08 AM
Duncan is "the man"!
Duncan, why you gotta keep a brotha down?
(neat hack, not sure how useful it is in a production, but I might be able to figure out something crazy to do with it)
CGTalk Moderation
10-26-2005, 07:08 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.