POV-Ray : Newsgroups : povray.newusers : Sponge : Re: Sponge Server Time
28 Jul 2024 18:19:00 EDT (-0400)
  Re: Sponge  
From: Alain
Date: 23 Dec 2007 10:49:04
Message: <476e8370$1@news.povray.org>
Chris B nous apporta ses lumieres en ce 2007/12/23 05:35:

> 
> I've also been playing with a macro to distribute different sized holes 
> across a surface (using CSG and rand() rather than isosurfaces). Some 
> results are looking ok, but I've also got some pretty bad render times with 
> that. The main advantage is that it can do different shapes (virtually any 
> shape you want) and you get a finer control over the proportion of 
> differently sized holes. I'll let you know if that throws up anything good.
> 
> Regards,
> Chris B.
> 
> 
Using differences? You are experiencing the problem from multiple overlaping 
bounding boxes. Try bundling your small bits in a blob that you difference from 
the main object. It's usualy much faster, but you are limited to spheres and 
round capped cylinders.
diference{
	object{Your_Main_Object [Object_modifiers]}
	blob{treshold 0.02
	  Your_Macro}
}

-- 
Alain
-------------------------------------------------
Hard work pays off in the future. Laziness pays off now.


Post a reply to this message

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