|
|
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
|
|