create png intead of ppm.

Different texture, less recursion deeper tracing.
This commit is contained in:
hjp 2002-03-18 19:51:07 +00:00
parent 048ab08bd8
commit 2bfd7a746e
2 changed files with 14 additions and 11 deletions

View File

@ -3,18 +3,18 @@ include GNUmakevars
all: \ all: \
menger.jpg \ menger.png \
%.ppm: %.pov %.png: %.pov
$(POVRAY) +L$(POVINC) +V -I$< +FP $(POVRAY) +L$(POVINC) +V -I$< +FN
%.pov: make% %.pov: make%
$< > $@ $< > $@
menger.ppm: menger.pov menger.png: menger.pov
%.gif: %.ppm %.gif: %.ppm

View File

@ -41,9 +41,12 @@
#end #end
union { 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 { 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 { interior {
ior 1.5 ior 1.5
caustics 1.0 caustics 1.0
@ -54,7 +57,7 @@ union {
global_settings { global_settings {
assumed_gamma 1.0 assumed_gamma 1.0
ambient_light rgb<0.5, 0.5, 0.5> ambient_light rgb<0.5, 0.5, 0.5>
max_trace_level 10 max_trace_level 15
} }
light_source { light_source {
@ -64,7 +67,7 @@ light_source {
camera { camera {
location <4, 6, 3> location <5, 4, 3>
look_at <0, 0, 0> look_at <0, 0, 0>
angle 40 angle 40
@ -74,9 +77,9 @@ plane {
<0, 1, 0>, -1 <0, 1, 0>, -1
pigment { pigment {
hexagon hexagon
pigment { color Red } pigment { color <1, 0.5, 0.5> }
pigment { color Green } pigment { color <0.5, 1, 0.5> }
pigment { color Blue } pigment { color <0.5, 0.5, 1> }
scale 0.1 scale 0.1
} }
} }