POV-Ray : Newsgroups : povray.newusers : Collision test : Re: Collision test Server Time
5 Sep 2024 10:30:35 EDT (-0400)
  Re: Collision test  
From: Jean-Michel Grimaldi
Date: 30 Mar 2001 11:07:50
Message: <3AC4AF17.DEA69088@via.ecp.fr>

> 

> balls. With 'seed' and 'rand' i get the distribution of the balls i
> like. But unfortunately, a lot of the balls intersect with another.

I think the easier way is to calculate a new position for a given ball
until it intersects with no other ball, then add another one, etc.

Though, if you have many balls, this will be quite lengthy, so you may
prefer to generate a .pov file from a program writter in a faster
language like C.

-- 
JM


Post a reply to this message

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