home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 4
/
DATAFILE_PDCD4.iso
/
utilities
/
utilsp
/
povray
/
!POVscene
/
level3
/
inc
/
panther
< prev
next >
Wrap
Text File
|
1992-07-21
|
34KB
|
1,197 lines
// Persistence of Vision Raytracer Version 1.0
/* PANTHER M.Miller 11/18/91 - with help from Truman*/
#declare DCone = /*---------CONE POINT DOWN /POINT at 000--------*/
intersection {
quadric { QCone_Y scale <1 1 1> }
plane { <0 -1 0> 0 } plane { <0 1 0> 1 } }
#declare UCone = /*---------CONE POINT UP /POINT at 000--------*/
intersection {
quadric { QCone_Y scale <1 1 1> }
plane { <0 1 0> 0 } plane { <0 1 0> -1 inverse }
}
#declare pan1 = texture {
/* image_map { <1.0 -1.0 0> gif "frac3.gif" } */
scale <40 40 4> rotate <0 0 180>
color green 0.3 red 0.16 blue 0.16
ambient 0.4 diffuse 0.7 phong 0.8 phong_size 25 }
/***********************************************************************/
/*------------------------------THE HEAD-------------------------------*/
#declare Dot = quadric {
< 1.0 1.0 1.0>
< 0.0 0.0 0.0>
< 0.0 0.0 0.0>
-1.0
}
#declare Connector_1a =
object {
quadric {
< 0.0 1.0 1.0>
< 0.0 0.0 0.0>
< 0.0 0.0 0.0>
-1.0
}
clipped_by {
plane { < 1.0 0.0 0.0> 1.0 }
plane { <-1.0 0.0 0.0> 0.0 }
}
}
#declare Connector_2a =
quadric {
< 1.0 -1.0 1.0>
< 0.0 0.0 0.0>
< 0.0 0.0 0.0>
0.0
rotate < 0.0 0.0 90.0>
}
/*************************************************************************/
/*------------------THE NECK---------------------------------------------*/
#declare neck =
union {
quadric { Dot scale < 6.000000 6.000000 6.000000>
}
quadric { Dot scale < 6.600000 6.600000 6.600000>
translate < 7.000000 -1.500000 0.000000>
}
quadric { Dot scale < 7.000000 7.000000 7.000000>
translate < 16.500000 -5.000000 0.000000>
}
}
#declare c1 = intersection {
quadric { Connector_2a }
plane { < 1.000000 0.000000 0.000000> 6.576779 }
plane { < 1.000000 0.000000 0.000000> 5.978890 inverse }
translate <-5.978890 0.000000 0.000000>
scale < 11.889538 1.000000 1.000000>
translate < 0.502870 0.000000 0.000000>
rotate < 0.000000 0.000000 -12.094757>
}
#declare c2 = intersection {
quadric { Connector_2a }
plane { < 1.000000 0.000000 0.000000> 6.994534 }
plane { < 1.000000 0.000000 0.000000> 6.594847 inverse }
translate <-6.594847 0.000000 0.000000>
scale < 25.290809 1.000000 1.000000>
translate < 0.260761 0.000000 0.000000>
rotate < 0.000000 0.000000 -20.224859>
translate < 7.000000 -1.500000 0.000000>
}
/*---------------------THE NOSE---------------------------------------*/
#declare Connector_1b =
object {
quadric {
< 0.0 1.0 1.0>
< 0.0 0.0 0.0>
< 0.0 0.0 0.0>
-1.0
}
clipped_by {
plane { < 1.0 0.0 0.0> 1.0 }
plane { <-1.0 0.0 0.0> 0.0 }
}
}
#declare Connector_2b =
quadric {
< 1.0 -1.0 1.0>
< 0.0 0.0 0.0>
< 0.0 0.0 0.0>
0.0
rotate < 0.0 0.0 90.0>
}
#declare c3 = intersection {
quadric { Connector_2b }
plane { < 1.000000 0.000000 0.000000> 4.898979 }
plane { < 1.000000 0.000000 0.000000> 3.919184 inverse }
translate <-3.919184 0.000000 0.000000>
scale < 4.898979 1.010000 1.010000>
translate < 0.800000 0.000000 0.000000>
}
#declare nose =
union {
difference {
union {
quadric { Dot scale < 2.300000 4.000000 4.000000> }
quadric { Ellipsoid scale <2.5 3.98 3.98> translate <0.3 0 0> }
intersection { c3 }
quadric { Dot scale < 4.000000 5.000000 5.000000>
translate < 5.000000 0.000000 0.000000>
}
/*-------------Cleff Palette------------------------------------------*/
quadric { Ellipsoid scale <3 2 3> translate <1 1.7 -2> }
quadric { Ellipsoid scale <3 3 3> translate <1 0.7 -2> }
}
quadric { Ellipsoid scale <2.2 1.7 7> translate <-0.5 -0.5 0> }
} /*----------MOUTH OPENING--------------*/
}
/*-------------------GUMS------------------------------*/
#declare gum = union {
intersection { Disk_Y scale <3 0.7 3.5> translate <0 1.2 0> }
intersection { Disk_Y scale <3 0.7 3.5> translate <0 -1 0> }
}
/*-----------Poodle Chew - Poodle Bite-----------------------------------*/
#declare choppers = object {
union {
intersection { Disk_Y scale <2.8 0.7 3.3> translate <0 0.9 0> }
intersection { Disk_Y scale <2.8 0.7 3.3> translate <0 -0.7 0> }
intersection { DCone scale <0.4 1.5 0.4> translate <-2 -0.2 -2> }
intersection { DCone scale <0.4 1.5 0.4> translate <-2 -0.2 2> }
}
texture { color White phong 1.0 }
}
/*----------------THE SKULL---------------------------------------------*/
#declare Connector_1c =
object {
quadric {
< 0.0 1.0 1.0>
< 0.0 0.0 0.0>
< 0.0 0.0 0.0>
-1.0
}
clipped_by {
plane { < 1.0 0.0 0.0> 1.0 }
plane { <-1.0 0.0 0.0> 0.0 }
}
}
#declare Connector_2c =
quadric {
< 1.0 -1.0 1.0>
< 0.0 0.0 0.0>
< 0.0 0.0 0.0>
0.0
rotate < 0.0 0.0 90.0>
}
#declare skull =
union {
difference {
union {
quadric { Dot scale < 3.200000 6.200000 6.200000> }
quadric { Dot scale < 6.500000 6.500000 6.500000>
translate < 3.000000 -0.100000 0.000000>
}
/*------SOCKET MOUND-----------------------------------------*/
quadric { Ellipsoid scale <2 2 2> translate <1 3.2 -4> }
/*
{--------------JAW----------------------------------------------------}
quadric { Ellipsoid scale <4 4 2> translate <2.3 -0.5 -4.7> }
*/
}
/*----------------Eye Sockets------------------------------------------*/
quadric { Cylinder_X scale <1 1.3 1.3> translate <0 3.1 3.9> }
quadric { Cylinder_X scale <1 1.3 1.3> translate <0 3.1 -3.9> }
}
}
#declare c4 = intersection {
quadric { Connector_2c }
plane { < 1.000000 0.000000 0.000000> 6.467455 }
plane { < 1.000000 0.000000 0.000000> 6.168957 inverse }
translate <-6.168957 0.000000 0.000000>
scale < 9.955456 1.000000 1.000000>
translate < 0.619656 0.000000 0.000000>
rotate < 0.000000 0.000000 -1.909152>
}
#declare eye = /*---------------EYE BALL----------------*/
object {
quadric { Ellipsoid scale <1.2 1 1.2> }
texture {
/*
image_map { <1.0 -1.0 0> gif "pantheye.gif" }
*/
scale <2 1.8 1> translate <-1 -0.9 -1> color Black phong 1.0
}
rotate <0 50 0>
}
#declare ear = difference { /*-----EAR------*/
quadric { Ellipsoid scale <1.75 3.5 1.75> }
quadric { Ellipsoid scale <1.25 3.5 1.25> translate <-0.7 -0.5 0> }
rotate <0 -65 0>
}
/*---------------------------A Matching set---------------------------------*/
#declare ears =
union {
difference { ear rotate <0 0 -30> rotate <30 0 0> translate <0 0 6> }
difference { ear rotate <0 0 -30> rotate <-30 0 0> translate <0 0 -6> }
}
#declare bridge = /*----------NOSE & BRIDGE------*/
union {
intersection { Disk_X scale <6.5 1.2 1.2> }
quadric { Ellipsoid scale <1 1.5 1.5> }
quadric { Ellipsoid scale <1.3 1.3 1.3> translate <0.2 0 0> }
}
#declare ed =
object {
union {
union { nose scale <1 1 1.4> rotate <0 0 7> translate <-42.5 24.3 0> }
union { skull scale <1.2 1 1.2> rotate <0 0 4> translate <-38 26 0> }
union { neck scale <1 1 0.8> translate <-33 26.5 0> }
intersection { c1 translate <-33 26.5 0> }
intersection { c2 translate <-33 26.5 0> }
intersection { c4 scale <1.2 1 1.2> rotate <0 0 4> translate <-38 26 0> }
union { ears translate <-33 29 0> }
union { bridge scale <1 1 3> rotate <0 0 16> translate <-44 27.4 0> }
union { gum translate <-41 23.2 0> }
}
texture {
/* image_map { <1.0 -1.0 0> gif "frac3.gif" } */
color green 0.4 red 0 blue 0
ambient 0.4 diffuse 0.7 phong 0.8 phong_size 25
scale <3