summaryrefslogtreecommitdiffstats
path: root/ksokoban/images/stone_common.inc
blob: 3c23a86da4fff90ee36b4baf68b51df0fa69db83 (plain)
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
28
29
30
31
32
// Pov-ray image source for ksokoban
// copyright (c) 1998-1999  Anders Widell  <awl@hem.passagen.se>

#include "colors.inc"
#include "stones.inc"

#declare StoneTexture = T_Stone8

background { color rgb <0, 0, 0> }

light_source {
  <-1000000/3, 1000000/3, -1000000> color rgb <0.625, 0.625, 0.625>
}
light_source {
  <-1000000/3, 1000000/3, -1000000> color rgb <0.625, 0.625, 0.625>
}

#declare Stone = object {
  superellipsoid {
    <1/3, 1/3>

    scale <1/2, 1/4, 1/4>
  }
}

#declare HalfStone = object {
  superellipsoid {
    <1/2, 1/3>

    scale <1/4, 1/4, 1/4>
  }
}