This commit is contained in:
Mark Moser 2014-02-01 23:10:16 -06:00
parent ce9f7b5797
commit 367b8d03d9
4 changed files with 58 additions and 3 deletions

BIN
chain.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 131 KiB

View File

@ -12,7 +12,7 @@
angle 30
}
background { color Gray30 }
background { color rgb <.46, .09, .06> }
light_source { <300, 300, -1000> White }
@ -63,6 +63,6 @@
//======= RENDER
object { chain scale .45 }
// object { chain scale .45 translate < 10, 0, -20 > rotate y*20 }
// object { chain scale .45 translate < -10, 0, 20 > rotate y*35 }
object { chain scale .45 translate < 10, -10, -20 > rotate y*20 }
object { chain scale .45 translate < 10, 30, 20 > rotate y*30 }

BIN
csgdemo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

55
csgdemo.pov Normal file
View File

@ -0,0 +1,55 @@
#version 3.7;
#include "colors.inc"
global_settings {
assumed_gamma 1
}
camera {
right x*1280/720
location <0, 1, -10>
look_at 0
angle 36
}
light_source { <500, 500, -1000> White }
plane { y, -1.5
pigment { checker Green White }
}
#declare lens_hole = difference {
intersection {
sphere { <0, 0, 0>, 1
translate -0.5*x
}
sphere { <0, 0, 0>, 1
translate 0.5*x
}
rotate 90*y
}
cylinder { <0, 0, -1> <0, 0, 1>, .35
}
}
#declare thing = merge {
object { lens_hole translate <-.65, .65, 0> }
object { lens_hole translate <.65, .65, 0> }
object { lens_hole translate <-.65, -.65, 0> }
object { lens_hole translate <.65, -.65, 0> }
pigment { Red filter .4 }
}
#declare abox = difference {
box { -1, 1 pigment { Red } }
cylinder { -1.001*z, 1.001*z, 0.5 pigment { Green } }
}
intersection {
object { thing }
object { abox }
translate <0 ,.25, 0>
}