POV-Ray : Newsgroups : povray.binaries.animations : An old one. Filling a container. : Re: An old one. Filling a container. Server Time
19 Jul 2024 17:12:44 EDT (-0400)
  Re: An old one. Filling a container.  
From: Christoph Hormann
Date: 21 Jul 2002 14:00:28
Message: <3D3AF6BB.1F0A46E6@gmx.de>
JRG wrote:
> 
> I just revisited the *balls filling a container* simulation to test my new
> programming skill (hehe just passed my C exam).
> While it's not perfect (some balls clearly intersect) it does the job. The program
> took ~20 min to calculate 800 frames (30 iterations per frame, 400 balls and ~10
> millions collisions). Then each frame took about 9 sec to render with POV.

Nice, could you have a few more words on the algorithm used? How do you
handle multiple simultaneous collisions of one ball?

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 15 Jul. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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