POV-Ray : Newsgroups : povray.binaries.animations : Poor Man's Fluid Simulation : Re: Poor Man's Fluid Simulation Server Time
1 Jun 2024 16:46:57 EDT (-0400)
  Re: Poor Man's Fluid Simulation  
From: triple r
Date: 8 Jan 2009 02:10:00
Message: <web.4965a609c4fc4309ef2b9ba40@news.povray.org>
William Tracy <wtr### [at] calpolyedu> wrote:
> I was staring at the particle demo for mechsim:
> http://megapov.inetart.net/demo/particle.mpg
>
> It occurred to me to replaces the spheres with blobs, and see if I could
> create the illusion of a liquid. The end result met my (admittedly low)
> expectations. :-)


http://en.wikipedia.org/wiki/Smoothed_particle_hydrodynamics
http://www.rchoetzlein.com/art/

This is the basis for how a lot of free surface flows are simulated.  I don't
know the details, but it seems like the coefficient of restitution should
definitely be zero (so it doesn't bounce), and surface tension should manifest
itself as a small attractive force between particles (so droplets don't go
flying off without a decent push).  A few more particles and it could actually
look convincing.  I'm not sure how mechsim handles collisions or forces, but
this could get pretty expensive if you have to do it through functions or loops
in POV-Ray.  Of course there are existing implementations too.  Is this how
Blender does it?

 - Ricky


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.