POV-Ray : Newsgroups : povray.programming : objects order : Re: objects order Server Time
28 Jul 2024 10:31:00 EDT (-0400)
  Re: objects order  
From: Warp
Date: 24 Jun 2002 18:38:52
Message: <3d179f7c@news.povray.org>
Rafal 'Raf256' Maj <raf### [at] raf256com> wrote:
> 2. in complex scenes, like group of i.e. 10000 spheres - this is hard to 
> tell with spheres wil produce such problems, and it's hard to adjust "a 
> little bit" such elements, if we have 1000 spheres like 
> <0.12312,0.3424,0.1234> - how much should we adjust them to be shure not to 
> have this problem ?

  The only case where two spheres can have coincident surfaces is when
their center and their radius is exactly the same.

  To make absolutely sure that no such thing will ever happen, you could
add a value to each x-coordinate. This value could start from 0 and
increase with steps of 10^-8 or whatever.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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