Increased level and max_trace_level. Use union instead of merge (much faster)

This commit is contained in:
hjp 2001-03-15 16:57:48 +00:00
parent e703a5b029
commit 7ca1df82c6
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,7 @@
#include "colors.inc"
#include "glass.inc"
#declare Eps = 1E-6;
#macro menger_level(C1, C2, Lev)
#if (Lev > 0)
@ -33,14 +34,14 @@
#end
#else
box {
C1, C2
C1 + Eps, C2 - Eps
}
#end
#end
merge {
menger_level(<-1, -1, -1>, <1, 1, 1>, 2)
union {
menger_level(<-1, -1, -1>, <1, 1, 1>, 4)
// texture { pigment { color rgb <1, 1, 1> }}
texture {T_Old_Glass }
interior {
@ -53,6 +54,7 @@ merge {
global_settings {
assumed_gamma 1.0
ambient_light rgb<0.5, 0.5, 0.5>
max_trace_level 10
}
light_source {

View File

@ -1,6 +1,5 @@
+A
+QR
+Q9
+HTP
+fp +w800 +h600
display_gamma = 2.2
+D