POV-Ray : Newsgroups : povray.newusers : Very slow rendering of an object with many holes : Very slow rendering of an object with many holes Server Time
28 Jul 2024 12:37:31 EDT (-0400)
  Very slow rendering of an object with many holes  
From: Tomohiro
Date: 21 May 2009 12:50:01
Message: <web.4a1585be2b4d1dd4bbb61a180@news.povray.org>
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?


Post a reply to this message

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