File: double_illuminate.pov

package info (click to toggle)
povray 1%3A3.6.1-12
  • links: PTS
  • area: non-free
  • in suites: lenny, squeeze
  • size: 31,084 kB
  • ctags: 20,310
  • sloc: ansic: 110,032; cpp: 86,573; sh: 13,595; pascal: 5,942; asm: 2,994; makefile: 1,753; ada: 1,637
file content (27 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Persistence Of Vision raytracer version 3.5 sample file.
// Demo scene for the "double_illuminate" object modifier
//
// -w320 -h240
// -w800 -h600 +a0.3

#include "colors.inc"
#include "thingy.inc"

camera {location <100,100,100> direction z*1 look_at <0,0,0>}

object {Thingy
        scale .4 translate <-60,0,-10> pigment {rgb <1,1,.5>}
        no_reflection
        }

box {<0,0,1>,<.1,60,60> pigment {White filter .7} double_illuminate}
box {<0,0,-1>,<.1,60,-60> pigment {White filter .7}}

plane {y,0 pigment {SteelBlue}}

text {ttf "cyrvetic","double_illuminate",.05,0 scale 10 rotate <90,-180,0> translate <80,.1,20> pigment {rgb <1,1,.5>} finish {ambient 1 diffuse 0}}
text {ttf "cyrvetic","(default)",.05,0 scale 10 rotate <90,-180,0> translate <45,.1,-20> pigment {rgb <1,1,.5>} finish {ambient 1 diffuse 0}}


light_source {<-200,30,0> White*1.5}
light_source {<400,500,300> White shadowless}