home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
p
/
povray
/
!POVscene
/
level3
/
inc
/
fish
< prev
next >
Wrap
Text File
|
1992-07-21
|
36KB
|
1,516 lines
// Persistence Of Vision raytracer version 1.0 sample file.
//----------- one fish include....3/13/92 M.Miller
/*------------ FISH SKIN-----------------------*/
#declare YourTexture =
texture {
image_map { <1 -1 0> gif "finskin2.gif" }
scale <100 60 1> translate <-50 -30 -1>
//Brown_Agate
//scale <50 30 27>
ambient 0.2 diffuse 0.5 phong 1.0 phong_size 80
}
/*------------- CTDS INFO -----------------------*/
#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_1 =
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_2 =
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>
}
/*------------ START THE BODY CURVES OF FISH-----------*/
#declare YourThing1 =
composite {
object {
union {
difference {
union {
quadric {
Dot
scale < 7.000000 7.000000 7.000000>
translate <-37.000010 -8.000000 0.000000>
}
quadric {
Dot
scale < 7.600000 7.600000 7.600000>
translate <-35.005830 -8.066590 0.000000>
}
quadric {
Dot
scale < 8.200000 8.200000 8.200000>
translate <-33.011630 -8.000770 0.000000>
}
quadric {
Dot
scale < 8.800000 8.800000 8.800000>
translate <-31.026180 -7.802830 0.000000>
}
quadric {
Dot
scale < 9.400000 9.400000 9.400000>
translate <-29.058240 -7.473640 0.000000>
}
quadric {
Dot
scale < 10.000000 10.000000 10.000000>
translate <-27.116460 -7.014650 0.000000>
}
quadric {
Dot
scale < 10.600000 10.600000 10.600000>
translate <-25.209400 -6.427880 0.000000>
}
quadric {
Dot
scale < 11.200000 11.200000 11.200000>
translate <-23.345460 -5.715910 0.000000>
}
quadric {
Dot
scale < 11.800000 11.800000 11.800000>
translate <-21.532840 -4.881880 0.000000>
}
quadric {
Dot
scale < 12.400000 12.400000 12.400000>
translate <-19.779530 -3.929470 0.000000>
}
quadric {
Dot
scale < 13.000000 13.000000 13.000000>
translate <-18.093250 -2.862860 0.000000>
}
quadric {
Dot
scale < 12.720000 12.720000 12.720000>
translate <-16.763390 -1.988050 0.000000>
}
quadric {
Dot
scale < 12.440000 12.440000 12.440000>
translate <-15.398940 -1.168230 0.000000>
}
quadric {
Dot
scale < 12.160000 12.160000 12.160000>
translate <-14.002160 -0.404780 0.000000>
}
quadric {
Dot
scale < 11.880000 11.880000 11.880000>
translate <-12.575390 0.301040 0.000000>
}
quadric {
Dot
scale < 11.600000 11.600000 11.600000>
translate <-11.121010 0.948050 0.000000>
}
quadric {
Dot
scale < 11.320000 11.320000 11.320000>
translate <-9.641440 1.535170 0.000000>
}
quadric {
Dot
scale < 11.040000 11.040000 11.040000>
translate <-8.139140 2.061410 0.000000>
}
quadric {
Dot
scale < 10.760000 10.760000 10.760000>
translate <-6.616620 2.525920 0.000000>
}
quadric {
Dot
scale < 10.480000 10.480000 10.480000>
translate <-5.076400 2.927910 0.000000>
}
}
//----------------- chops off front face & hollow mouth
plane { < 1 0 0 > 0 translate <-30 -10 0> rotate <0 0 45> }
quadric { Ellipsoid scale <10 10 10> translate <-27 -7 0> }
}
//---------------- add chin
union {
difference {
quadric { Ellipsoid scale <11 11 11> }
plane { <0 1 0> 0 inverse translate <0 -7 0> rotate <0 0 23> }
translate <-30 -6 0>
}
//----------------- lower lip
difference {
intersection { Disk_Y scale <11 1.5 9> rotate <0 0 23> translate <-29 -14 0> }
quadric { Ellipsoid scale <8.5 8.5 8.5> translate <-31 -7 0> }
}
}
}
texture { YourTexture }
bounded_by {
quadric {
Dot
scale < 26.403494 26.403494 26.403494>
translate <-26.866425 -5.054880 0.000000>
}
}
}
}
#declare YourThing3 =
composite {
object {
quadric {
Dot
scale < 10.200000 10.200000 10.200000>
translate <-3.521070 3.266700 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 9.920000 9.920000 9.920000>
translate <-1.953210 3.541750 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 9.640000 9.640000 9.640000>
translate <-0.375430 3.752580 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 9.360000 9.360000 9.360000>
translate < 1.209640 3.898860 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 9.080000 9.080000 9.080000>
translate < 2.799360 3.980320 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 8.800000 8.800000 8.800000>
translate < 4.391080 3.996850 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 8.520000 8.520000 8.520000>
translate < 5.982150 3.948410 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 8.240000 8.240000 8.240000>
translate < 7.569910 3.835070 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 7.960000 7.960000 7.960000>
translate < 9.151730 3.657040 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 7.680000 7.680000 7.680000>
translate < 10.724970 3.414610 0.000000>
}
texture {
YourTexture
}
}
object {
quadric {
Dot
scale < 7.400000 7.400000 7.400000>
translate < 12.287000 3.108170 0.000000>
}
texture {
YourTexture
}
}
bounded_by {
quadric {
Dot
scale < 24.277496 24.277496 24.277496>
translate < 2.982965 3.