home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ray Tracing Box
/
RAY_CD.mdf
/
raytrace
/
_pov_dat
/
barbell
/
barbell.pov
< prev
Wrap
Text File
|
1993-05-18
|
5KB
|
170 lines
//Barbell created by Vic.
//I've only been doing this for a month so I'm not advanced
//like all the rest of the CSERVE guys but I'm drinking milk...
//Oh yeah, I had lots of help from MORAY. Thanks guys.
#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
camera { // Camera eye
location <-34.701 38.701 14.324>
direction <0.0 0.0 2.5458>
sky <0.0 0.0 1.0> // Use right handed-system!
up <0.0 0.0 1.0> // Where Z is up
right <1.3333 0.0 0.0>
look_at <0.000 0.000 0.000>
}
// ******* L I G H T S *******
object { // Light source beam
light_source {
<-4.926 -0.093 5.204>
color red 1.000 green 1.000 blue 1.000
}
}
// ******* T E X T U R E S *******
// ******** O B J E C T S *******
#declare bar = intersection {
quadric { Cylinder_Z texture { Silver_Texture } }
plane { <0 0 -1> 0 texture { Silver_Texture } }
plane { <0 0 +1> 1 texture { Silver_Texture } }
scale <0.721190 0.557631 12.152414>
rotate <-89.930344 -0.000000 -0.000000>
translate <-0.092937 -5.855019 0.092937>
}
#declare bell2 = intersection {
quadric { Cylinder_Z texture { Chrome_Texture } }
plane { <0 0 -1> 0 texture { Chrome_Texture } }
plane { <0 0 +1> 1 texture { Chrome_Texture } }
scale <3.509293 3.531607 1.000000>
rotate <-89.879631 -0.000000 -0.000000>
translate <0.000000 -5.277914 0.000172>
}
#declare bell3 = intersection {
quadric { Cylinder_Z texture { Chrome_Texture } }
plane { <0 0 -1> 0 texture { Chrome_Texture } }
plane { <0 0 +1> 1 texture { Chrome_Texture } }
scale <3.509293 3.531607 1.000000>
rotate <-89.879631 -0.000000 -0.000000>
translate <0.000000 4.972550 0.000172>
}
object {
union {
intersection { bar }
intersection { bell2 }
intersection { bell3 }
}
rotate <-0.000000 -0.000000 -0.005086>
translate <-0.278810 0.278810 0.000000>
}
#declare bar4 = intersection {
quadric { Cylinder_Z texture { Silver_Texture } }
plane { <0 0 -1> 0 texture { Silver_Texture } }
plane { <0 0 +1> 1 texture { Silver_Texture } }
scale <0.721190 0.557631 12.152414>
rotate <-89.930344 -0.000000 -0.000000>
translate <-0.092937 -5.855019 0.092937>
}
#declare bell10 = intersection {
quadric { Cylinder_Z texture { Chrome_Texture } }
plane { <0 0 -1> 0 texture { Chrome_Texture } }
plane { <0 0 +1> 1 texture { Chrome_Texture } }
scale <3.509293 3.531607 1.000000>
rotate <-89.879631 -0.000000 -0.000000>
translate <0.000000 -5.277914 0.000172>
}
#declare bell11 = intersection {
quadric { Cylinder_Z texture { Chrome_Texture } }
plane { <0 0 -1> 0 texture { Chrome_Texture } }
plane { <0 0 +1> 1 texture { Chrome_Texture } }
scale <3.509293 3.531607 1.000000>
rotate <-89.879631 -0.000000 -0.000000>
translate <0.000000 4.972550 0.000172>
}
object {
union {
intersection { bar4 }
intersection { bell10 }
intersection { bell11 }
}
scale <0.396169 0.278820 0.371757>
rotate <-0.000000 -0.000000 -89.025894>
translate <-9.851301 0.092937 -2.137546>
}
object { // mat
box { UnitBox
texture { Yellow_Pine }
}
scale <22.633480 24.679214 0.092947>
translate <0.000000 0.000000 -3.717472>
}
#declare bar3 = intersection {
quadric { Cylinder_Z texture { Silver_Texture } }
plane { <0 0 -1> 0 texture { Silver_Texture } }
plane { <0 0 +1> 1 texture { Silver_Texture } }
scale <0.721190 0.557631 12.152414>
rotate <-89.930344 -0.000000 -0.000000>
translate <-0.092937 -5.855019 0.092937>
}
#declare bell8 = intersection {
quadric { Cylinder_Z texture { Chrome_Texture } }
plane { <0 0 -1> 0 texture { Chrome_Texture } }
plane { <0 0 +1> 1 texture { Chrome_Texture } }
scale <3.509293 3.531607 1.000000>
rotate <-89.879631 -0.000000 -0.000000>
translate <0.000000 -5.277914 0.000172>
}
#declare bell9 = intersection {
quadric { Cylinder_Z texture { Chrome_Texture } }
plane { <0 0 -1> 0 texture { Chrome_Texture } }
plane { <0 0 +1> 1 texture { Chrome_Texture } }
scale <3.509293 3.531607 1.000000>
rotate <-89.879631 -0.000000 -0.000000>
translate <0.000000 4.972550 0.000172>
}
object {
union {
intersection { bar3 }
intersection { bell8 }
intersection { bell9 }
}
scale <0.396169 0.278820 0.371757>
rotate <-0.000000 -0.000000 -90.347862>
translate <-9.386617 -4.832714 -2.137546>
}
object { // wall
box { UnitBox
texture { White_Marble }
}
scale <15.520467 0.185884 6.762083>
translate <0.464512 -17.657993 2.973978>
}
object { // wall2
box { UnitBox
texture { White_Marble }
}
scale <0.000010 16.706308 7.784390>
translate <15.009380 -0.741943 4.182501>
}