create png intead of ppm.
Different texture, less recursion deeper tracing.
This commit is contained in:
parent
048ab08bd8
commit
2bfd7a746e
|
@ -3,18 +3,18 @@ include GNUmakevars
|
|||
|
||||
|
||||
all: \
|
||||
menger.jpg \
|
||||
menger.png \
|
||||
|
||||
|
||||
|
||||
%.ppm: %.pov
|
||||
$(POVRAY) +L$(POVINC) +V -I$< +FP
|
||||
%.png: %.pov
|
||||
$(POVRAY) +L$(POVINC) +V -I$< +FN
|
||||
|
||||
%.pov: make%
|
||||
$< > $@
|
||||
|
||||
|
||||
menger.ppm: menger.pov
|
||||
menger.png: menger.pov
|
||||
|
||||
|
||||
%.gif: %.ppm
|
||||
|
|
|
@ -41,9 +41,12 @@
|
|||
#end
|
||||
|
||||
union {
|
||||
menger_level(<-1, -1, -1>, <1, 1, 1>, 4)
|
||||
menger_level(<-1, -1, -1>, <1, 1, 1>, 3)
|
||||
// texture { pigment { color rgb <1, 1, 1> }}
|
||||
texture {T_Old_Glass }
|
||||
texture {
|
||||
finish { F_Glass4 }
|
||||
pigment { color rgbf <0.8, 0.6, 0.6, 0.75> }
|
||||
}
|
||||
interior {
|
||||
ior 1.5
|
||||
caustics 1.0
|
||||
|
@ -54,7 +57,7 @@ union {
|
|||
global_settings {
|
||||
assumed_gamma 1.0
|
||||
ambient_light rgb<0.5, 0.5, 0.5>
|
||||
max_trace_level 10
|
||||
max_trace_level 15
|
||||
}
|
||||
|
||||
light_source {
|
||||
|
@ -64,7 +67,7 @@ light_source {
|
|||
|
||||
|
||||
camera {
|
||||
location <4, 6, 3>
|
||||
location <5, 4, 3>
|
||||
look_at <0, 0, 0>
|
||||
angle 40
|
||||
|
||||
|
@ -74,9 +77,9 @@ plane {
|
|||
<0, 1, 0>, -1
|
||||
pigment {
|
||||
hexagon
|
||||
pigment { color Red }
|
||||
pigment { color Green }
|
||||
pigment { color Blue }
|
||||
pigment { color <1, 0.5, 0.5> }
|
||||
pigment { color <0.5, 1, 0.5> }
|
||||
pigment { color <0.5, 0.5, 1> }
|
||||
scale 0.1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue