POV-Ray : Newsgroups : povray.binaries.animations : particle system liquid (358kb mpeg) : particle system liquid (358kb mpeg) Server Time
19 Jul 2024 21:36:09 EDT (-0400)
  particle system liquid (358kb mpeg)  
From: Mark James Lewin
Date: 28 Feb 2002 19:31:39
Message: <3C7ECB0A.292B0693@yahoo.com.au>
After tinkering with may particle system, I came up with this. It's not perfect,
but after days of debugging code to prevent the particles falling through the
corner of the container (part of the problem was with #write, see
povray.beta-test), I thought I'd post my efforts.

I don't think the volume is conserved toward the end, and this aspect needs work.
The droplets are too large, and I would like to make them smaller, but this would
mean more particles needed. I would have also liked to keep adding them to fill
the container, but this to requires lots of particles, and my patience is not up
to that sort of wait. There are about 250 particles in there at the moment.

See what you think. Comments are more than welcome.

MJL

--
text{ttf"timrom.ttf"concat(#local O=1;#while(O<7)chr(val(substr(concat(#local Q=
1;#while(Q<7)str(asc(substr("???<?>",Q,1))-56,0,0),#local Q=Q+1;#end""),O,2))),#
local O=O+2;#end"").1,0pigment{rgb 9}translate-<1,.3,-2>} // MJL


Post a reply to this message


Attachments:
Download 'liquid.mpg' (358 KB)

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