POV-Ray : Newsgroups : povray.general : Request: A Test Render : Re: Request: A Test Render Server Time
13 Jun 2024 13:53:59 EDT (-0400)
  Re: Request: A Test Render  
From: Ger
Date: 31 Jan 2016 21:04:29
Message: <56aebd2d$1@news.povray.org>
Sven Littkowski wrote:

> Yes, I use some Differences, true, indeed. If they are the cause, then I
> must find a way to avoid them. Not easy, because I plan to design many
> decks and rooms inside the ship, too.
> 
> There are some locations where I can replace them, but there are other
> locations, where I don't know in which other way to achieve a similar
> result.
> 
> Thanks a lot for your time, good intention, and valuable feedback, Ger.
> Thanks, of course, to everyone else, too. :-)


I did a little test

#declare DifferenceSquare = difference {
  box{<0, 0, 0>, <3, 3, -0.5>}
  box {< 1, 1, 1>,< 2, 2, -1>}
}

#declare DifferenceWall = union {

#for(C1, 0, 200, 1)
  #for(C2, 0, 100, 1)
  object {DifferenceSquare translate <C1 * 3,C2 * 3, 0>}
  #end
  #end
  pigment {rgb 0.5}
  }
  
  
#declare FullDifferenceWall = 
difference {
 box {<0, 0, 0>,<600, 300, -0.5>}
 #for(C1,0, 200, 1)
   #for(C2, 0, 100, 1)
     box {<0, 0, -1>,<1, 1, 1> translate <C1 * 3 +1, C2 * 3 + 1, 0>}
   #end
 #end
  pigment {rgb 0.5}
 }
 

For the DifferenceWall
  Trace Time:       0 hours  0 minutes  0 seconds (0.586 seconds)
              using 8 thread(s) with 3.062 CPU-seconds total

For the FullDifferenceWall
  Trace Time:       0 hours  4 minutes 45 seconds (285.435 seconds)
              using 8 thread(s) with 1494.015 CPU-seconds total


"Proof is in the pudding" they say.

-- 

Ger


Post a reply to this message

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