POV-Ray : Newsgroups : povray.newusers : Very slow rendering of an object with many holes : Re: Very slow rendering of an object with many holes Server Time
28 Jul 2024 12:28:12 EDT (-0400)
  Re: Very slow rendering of an object with many holes  
From: stevenvh
Date: 21 May 2009 13:45:01
Message: <web.4a1592bddc3f4a9cc0721a1d0@news.povray.org>
"Tomohiro" <nomail@nomail> wrote:
> Hello, I have another question.
>
> My scene has a plate with many (about 1000) holes, like following:
>
> difference{
>   cylinder{<0,0,0>,<0,1,0>,10}
>   #local X=-9; #while(X<9)
>     #local Y=-9; #while(Y<9)
>       #if (X*X+Y*Y < 81)
>         cylinder{<X,-0.1,Y>,<X,1.1,Y>,0.1}
>       #end
>     #local Y=Y+0.5; #end
>   #local X=X+0.5; #end
> }
>
> Rendering of this is very slow, even if I added bounded_by.
> On the other hand, if I removed CSG, it is much faster.
>
> How can I improve the rendering speed?


I think the following link provide an answer:
http://www.econym.demon.co.uk/holetut/index.htm

Steven


Post a reply to this message

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