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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
|
// This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
// To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a
// letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
// Persistence Of Vision Raytracer sample file.
// By Chris Young
// This image contains an example of every shape from shapes_old.inc
//
// -w320 -h240
// -w800 -h600 +a0.3
#version 3.7;
global_settings { assumed_gamma 2.2 }
#include "colors.inc"
#include "shapes_old.inc"
camera {
location <24, 10, -36>
right x*image_width/image_height
angle 50
look_at <0,6,0>
}
light_source {<200, 50, -100> color LightGray}
light_source {<50, 100, -200> color LightGray}
light_source {<200, 200, -200> color LightGray}
object {
Ellipsoid
scale <1, 2, 1>
pigment {Red}
translate <17, 2, -10>
}
object {
Sphere
pigment {Flesh}
translate <20, 1, -11>
}
object {
Cylinder_X
pigment {Green}
translate <0, 6, -2>
}
object {
Cylinder_Y
pigment {Blue}
translate <18, 0, -8>
}
object {
Cylinder_Z
pigment {Cyan}
translate <10, 3, 0>
}
object {
QCone_X
pigment {Orange}
scale <9, 1, 1>
translate <13, 10, -3>
}
object {
QCone_Y
pigment {Yellow}
scale <1, 9, 1>
translate <7, 10, -18>
}
object {
QCone_Z
pigment {Maroon}
scale <1, 1, 9>
translate <7, 15, -10>
}
object {
Plane_YZ
pigment {Navy}
}
object {
Plane_XZ
pigment {White}
}
object {
Plane_XY inverse
pigment {SkyBlue}
}
object {
Paraboloid_X
pigment {Magenta}
translate <15, 15, -9>
}
object {
Paraboloid_Y
pigment {GreenYellow}
translate <5, 11, -23>
}
object {
Paraboloid_Z
pigment {OrangeRed}
translate <10, 18, -6>
}
object {
Hyperboloid
pigment {Tan}
scale <7, 1, 1>
translate <10, 2, -5>
}
object {
Hyperboloid_Y
pigment {NeonPink}
scale <1, 6, 1>
translate <3, 10, -10>
}
object {
UnitBox
pigment {Scarlet}
translate <14, 1, -10>
}
object {
Cube
pigment {ForestGreen}
translate <12, 1, -13>
}
object {
Disk_X
pigment {Coral}
translate <10, 5, -24>
}
object {
Disk_Y
pigment {SeaGreen}
translate <10, 7, -24>
}
object {
Disk_Z
pigment {Brass}
translate <10, 9, -24>
}
object {
Cone_X
pigment {SpicyPink}
translate <18, 1, -13>
}
object {
Cone_Y
pigment {SummerSky}
translate <14, 1, -14>
}
object {
Cone_Z
pigment {Wheat}
translate <12, 1, -17>
}
|