home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 9
/
CD_ASCQ_09_1193.iso
/
news
/
4428
/
things
/
thing4.dat
< prev
next >
Wrap
Text File
|
1992-07-15
|
19KB
|
563 lines
// THING4.DAT Copyright 1992
// Truman Brown
// All Rights Reserved
#include "colors.dat"
#declare lightsphere = object sphere <0 0 0> 2 end_sphere end_object
#declare light1 = object lightsphere texture color red 0.1 green 0.1 blue 0.1 end_texture light_source end_object
#declare light2 = object lightsphere texture color red 0.2 green 0.2 blue 0.2 end_texture light_source end_object
#declare light3 = object lightsphere texture color red 0.3 green 0.3 blue 0.3 end_texture light_source end_object
view_point
location < 29 33 -40 >
direction < 0 0 2 >
up < 0 1 0 >
right < 1.333333 0 0 >
look_at < 0 5 100 >
end_view_point
#declare QSphere = quadric
<1.0 1.0 1.0>
<0.0 0.0 0.0>
<0.0 0.0 0.0>
-1.0
end_quadric
#declare Cylinder_X = quadric
<0.0 1.0 1.0>
<0.0 0.0 0.0>
<0.0 0.0 0.0>
-1.0
end_quadric
#declare Cylinder_Y = quadric
<1.0 0.0 1.0>
<0.0 0.0 0.0>
<0.0 0.0 0.0>
-1.0
end_quadric
#declare Cylinder_Z = quadric
<1.0 1.0 0.0>
<0.0 0.0 0.0>
<0.0 0.0 0.0>
-1.0
end_quadric
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
end_quadric
clipped_by
plane < 1.0 0.0 0.0> 1.0 end_plane
plane <-1.0 0.0 0.0> 0.0 end_plane
end_clip
end_object
#declare thingtexture1 =
texture
color red 0.31 green 0.32 blue 0.37
ambient 0.07
diffuse 0.73
specular 0.85
roughness 0.00000001
reflection 0.3676
brilliance 1.8
end_texture
#declare planetexture =
texture
wood
turbulence 0.05
color_map
[0.00 0.10 color red 0.42 green 0.26 blue 0.15
color red 0.42 green 0.26 blue 0.15]
[0.10 0.90 color red 0.42 green 0.26 blue 0.15
color red 0.52 green 0.37 blue 0.26]
[0.90 1.01 color red 0.52 green 0.37 blue 0.26
color red 0.52 green 0.37 blue 0.26]
end_color_map
ambient 0.15
diffuse 0.75
specular 0.9
roughness 0.0000001
brilliance 2
reflection 0.15
scale <2 2 25>
end_texture
#declare orb1 =
object
// Declaration created by CircleMaster 1.0 (c) 1992 Truman Brown
// a [radius on x-axis] = 15.000000000000000
// b [radius on y-axis] = 10.000000000000000
// c [radius on z-axis] = 15.000000000000000
// desired radius at intersection = 10.000000000000000
// y value of intersection point = 7.453559924999299
// desired tangent angle = 30.806981117105181
// complement = 59.193018882894819
// tangent angle achieved = 30.806981117105181
// complement = 59.193018882894819
// foci on X-axis [+/-] = 11.180339887498949
// unit radius scaler = 0.100000000000000
// a after scaling = 1.500000000000000
// b after scaling = 1.000000000000000
// c after scaling = 1.500000000000000
// y at intersection after scaling = 0.745355992499930
// *** Don't forget to add a texture
intersection
quadric
<0.004444444444444 0.01 0.004444444444444>
<0.000000000000000 0.00 0.000000000000000>
<0.000000000000000 0.00 0.000000000000000>
-1.0
end_quadric
plane <0.0 1.0 0.0> 7.453559924999299 end_plane
end_intersection
bounded_by
quadric
QSphere
scale <15.01 15.01 15.01>
end_quadric
end_bound
end_object
#declare hyp1 =
object
// Declaration created by Hype 1.0 (c) 1992 Truman Brown
// 1st radius = 10.000000000000000
// tangent angle = 30.806981117105178
// complement = 59.193018882894819
// 2nd radius = 10.000000000000000
// tangent angle = 30.806981117105178
// complement = 59.193018882894819
// Angle of asymptotes = 30.295069839878160
// Length = 11.448668044798925
// A value = 2.000000000000000
// B value = 1.168474789344355
// C value = 1.000000000000000
// foci [+/-] = 2.316318918744423
// *** Don't forget to add a texture
quadric
<0.25 -0.732421875 0.25>
<0.00 0.000000000 0.00>
<0.00 0.000000000 0.00>
-1.0
end_quadric
clipped_by
plane <0.0 1.0 0.0> 0 end_plane
plane <0.0 1.0 0.0> -5.724334022399463 inverse end_plane
end_clip
bounded_by
quadric
QSphere
scale <12 12 12>
end_quadric
end_bound
translate <0.0 13.177993947398762 0.0>
end_object
#declare hyp2 =
object
// Declaration created by Hype 1.0 (c) 1992 Truman Brown
// 1st radius = 5.000000000000000
// tangent angle = 53.750679117100617
// complement = 36.249320882899383
// 2nd radius = 5.000000000000000
// tangent angle = 53.750679117100617
// complement = 36.249320882899383
// Angle of asymptotes = 51.340191745909912
// Length = 11.456439237389599
// A value = 2.000000000000000
// B value = 2.500000000000000
// C value = 1.000000000000000
// foci [+/-] = 3.201562118716424
// *** Don't forget to add a texture
quadric
<0.25 -0.16 0.25>
<0.00 0.00 0.00>
<0.00 0.00 0.00>
-1.0
end_quadric
clipped_by
plane <0.0 1.0 0.0> 5.728219618694800 end_plane
plane <0.0 1.0 0.0> 0 inverse end_plane
end_clip
bounded_by
quadric
QSphere
scale <8 8 8>
end_quadric
end_bound
translate <0.0 13.177993947398762 0.0>
end_object
#declare orb2 =
object
// Declaration created by CircleMaster 1.0 (c) 1992 Truman Brown
// a [radius on x-axis] = 6.200000000000000
// b [radius on y-axis] = 6.200000000000024
// c [radius on z-axis] = 6.200000000000000
// desired radius at intersection = 5.000000000000000
// y value of intersection point = 3.666060555964687
// desired tangent angle = 53.750679117100617
// complement = 36.249320882899383
// tangent angle achieved = 53.750679117100717
// complement = 36.249320882899283
// foci on Y-axis [+/-] = 0.000000539743014
// unit radius scaler = 0.200000000000000
// a after scaling = 1.240000000000000
// b after scaling = 1.240000000000005
// c after scaling = 1.240000000000000
// y at intersection after scaling = 0.733212111192937
// *** Don't forget to add a texture
quadric
<0.026014568158169 0.026014568158168 0.026014568158169>
<0.000000000000000 0.000000000000000 0.000000000000000>
<0.000000000000000 0.000000000000000 0.000000000000000>
-1.0
end_quadric
clipped_by
plane <0.0 -1.0 0.0> 3.666060555964687 end_plane
end_clip
bounded_by
quadric
QSphere
scale <6.3 6.3 6.3>
end_quadric
end_bound
translate <0.0 22.572274122058249 0.0>
end_object
#declare hyperthing =
composite
object orb1 texture thingtexture1 end_texture end_object
object orb2 texture thingtexture1 end_texture end_object
object hyp1 texture thingtexture1 end_texture end_object
object hyp2 texture thingtexture1 end_texture end_object
bounded_by
quadric
QSphere
scale <16 29 16>
end_quadric
end_bound
translate <0 10 0>
end_composite
#declare xblop =
object
union
difference
intersection
quadric
Cylinder_Y
scale <10 1 10>
end_quadric
plane <0 1 0> 0 end_plane
plane <0 -1 0> 9 end_plane
end_intersection
quartic // 1 19
< 1 0 0 0 2 0 0 2 0 -362
0 0 0 0 0 0 0 0 0 0
1 0 0 2 0 38 0 0 0 0
1 0 -362 0 361 >
end_quartic
end_difference
intersection
sphere <0 0 0> 1 end_sphere
plane <0 -1 0> 0 end_plane
end_intersection
end_union
bounded_by
sphere <0 0 0> 15 end_sphere
end_bound
translate <0 9 0>
end_object
#declare a_row =
composite
composite hyperthing translate <0 0 30> end_composite
composite hyperthing translate <0 0 60> end_composite
composite hyperthing translate <0 0 90> end_composite
composite hyperthing translate <0 0 120> end_composite
composite hyperthing translate <0 0 150> end_composite
composite hyperthing translate <0 0 180> end_composite
composite hyperthing translate <0 0 210> end_composite
composite hyperthing translate <0 0 240> end_composite
composite hyperthing translate <0 0 270> end_composite
composite hyperthing translate <0 0 300> end_composite
composite hyperthing translate <0 0 330> end_composite
composite hyperthing translate <0 0 360> end_composite
composite hyperthing translate <0 0 390> end_composite
composite hyperthing translate <0 0 420> end_composite
composite hyperthing translate <0 0 450> end_composite
bounded_by
quadric
Cylinder_Z
scale <30 30 1>
translate <0 9 0>
end_quadric
end_bound
end_composite
#declare blade_texture =
texture
metallic
color Gold
ambient 0.05
diffuse 0.8
phong 1.0
phongsize 100
roughness 0.000000001
brilliance 1
reflection 0.6
end_texture
#declare handle_texture =
texture
color Sienna
ambient 0.05
diffuse 0.4
specular 1.0
roughness 0.000000001
brilliance 1.0
reflection 0.3
end_texture
#declare handle_ball_texture =
texture
color OldGold
ambient 0.05
diffuse 0.5
brilliance 1.5
specular 1.0
roughness 0.0000000001
reflection 0.6
end_texture
#declare hand_plate_texture =
texture
handle_texture
end_texture
#declare grip_texture =
texture
marble
turbulence 1.00
color_map
[0.00 0.10 color red 0.42 green 0.26 blue 0.15
color red 0.00 green 0.00 blue 0.00]
[0.10 0.90 color red 0.00 green 0.00 blue 0.00
color red 0.52 green 0.37 blue 0.26]
[0.90 1.01 color red 0.52 green 0.37 blue 0.26
color red 0.42 green 0.26 blue 0.15]
end_color_map
ambient 0.0
diffuse 0.6
phong 1.0
phongsize 50
scale <2 2 2>
end_texture
#declare handle_ball =
object
sphere <0 0 0> 5 end_sphere
end_object
#declare blade =
object
difference
union
intersection {sharpened portion of blade}
union
quadric
QSphere
scale <105 4.5 1>
end_quadric
difference {points}
quadric
QSphere
scale <10 10 1>
end_quadric
quadric
QSphere
scale <10 12 2>
translate <-6 0 0>
end_quadric
translate <-10 0 0>
end_difference
end_union
plane <0 0 -1> 0 rotate <-1.2 0 0> translate <0 0 -0.5> end_plane
plane <0 0 -1> 0 rotate < 1.2 0 0> translate <0 0 -0.5> end_plane
plane <0 0 1> 0 rotate < 1.2 0 0> translate <0 0 0.5> end_plane
plane <0 0 1> 0 rotate <-1.2 0 0> translate <0 0 0.5> end_plane
plane <1 0 0> 0 end_plane
end_intersection
end_union
quadric {groove in blade : side 1}
QSphere
scale <100 0.8 0.6>
translate <0 0 -0.65>
end_quadric
quadric {groove in blade : side 2}
QSphere
scale <100 0.8 0.6>
translate <0 0 0.65>
end_quadric
end_difference
bounded_by
sphere <-53 0 0> 54 end_sphere
end_bound
end_object
#declare hand_plate =
object
union
union
quadric QSphere scale <2.0 4 4> end_quadric
quadric QSphere scale <2.4 3 3> end_quadric
quadric QSphere scale <2.6 2 2> end_quadric
translate <0 0 5>
end_union
union
quadric QSphere scale <2.0 4 4> end_quadric
quadric QSphere scale <2.4 3 3> end_quadric
quadric QSphere scale <2.6 2 2> end_quadric
translate <0 0 -5>
end_union
end_union
bounded_by
sphere <0 0 0> 22 end_sphere
end_bound
end_object
#declare handle =
object
intersection
quadric
QSphere
scale <19 3.3 1.5>
translate <18 0 0>
end_quadric
plane <-1 0 0> -2 end_plane
end_intersection
bounded_by
sphere <18 0 0> 20 end_sphere
end_bound
end_object
#declare rubber_bump =
quadric
QSphere
scale <1.5 2.5 1.92>
rotate <0 0 -20>
end_quadric
#declare grip =
object
union {rubber on grip}
quadric rubber_bump translate < 3 0 0> end_quadric
quadric rubber_bump translate < 4 0 0> end_quadric
quadric rubber_bump translate < 5 0 0> end_quadric
quadric rubber_bump translate < 6 0 0> end_quadric
quadric rubber_bump translate < 7 0 0> end_quadric
quadric rubber_bump translate < 8 0 0> end_quadric
quadric rubber_bump translate < 9 0 0> end_quadric
quadric rubber_bump translate <10 0 0> end_quadric
quadric rubber_bump translate <11 0 0> end_quadric
quadric rubber_bump translate <12 0 0> end_quadric
quadric rubber_bump translate <13 0 0> end_quadric
quadric rubber_bump translate <14 0 0> end_quadric
quadric rubber_bump translate <15 0 0> end_quadric
quadric rubber_bump translate <16 0 0> end_quadric
quadric rubber_bump translate <17 0 0> end_quadric
quadric rubber_bump translate <18 0 0> end_quadric
quadric rubber_bump translate <19 0 0> end_quadric
quadric rubber_bump translate <20 0 0> end_quadric
quadric rubber_bump translate <21 0 0> end_quadric
quadric rubber_bump translate <22 0 0> end_quadric
quadric rubber_bump translate <23 0 0> end_quadric
quadric rubber_bump translate <24 0 0> end_quadric
quadric rubber_bump translate <25 0 0> end_quadric
quadric rubber_bump translate <26 0 0> end_quadric
quadric rubber_bump translate <27 0 0> end_quadric
quadric rubber_bump translate <28 0 0> end_quadric
quadric rubber_bump translate <29 0 0> end_quadric
quadric rubber_bump translate <30 0 0> end_quadric
quadric rubber_bump translate <31 0 0> end_quadric
quadric rubber_bump translate <32 0 0> end_quadric
quadric rubber_bump translate <33 0 0> end_quadric
quadric rubber_bump translate <34 0 0> end_quadric
quadric rubber_bump translate <35 0 0> end_quadric
quadric rubber_bump translate <36 0 0> end_quadric
quadric rubber_bump translate <37 0 0> end_quadric
quadric rubber_bump translate <38 0 0> end_quadric
end_union
bounded_by
sphere <18 0 0> 20 end_sphere
end_bound
end_object
#declare sword =
composite
object handle_ball translate <38 0 0> texture handle_ball_texture end_texture end_object
object blade texture blade_texture end_texture end_object
object grip texture grip_texture end_texture end_object
object handle texture handle_texture end_texture end_object
object hand_plate texture hand_plate_texture end_texture end_object
translate <45 0 0>
end_composite
composite sword scale <1.1 1.1 1.1> rotate <0 -90 0> rotate <30 0 0> translate <0 8 0> end_composite
composite sword scale <1.1 1.1 1.1> rotate <0 -90 0> rotate <30 0 0> translate <0 8 90> end_composite
composite sword scale <1.1 1.1 1.1> rotate <0 -90 0> rotate <30 0 0> translate <0 8 180> end_composite
composite sword scale <1.1 1.1 1.1> rotate <0 -90 0> rotate <30 0 0> translate <0 8 270> end_composite
composite sword scale <1.1 1.1 1.1> rotate <0 -90 0> rotate <30 0 0> translate <0 8 360> end_composite
composite sword scale <1.1 1.1 1.1> rotate <0 -90 0> rotate <30 0 0> translate <0 8 450> end_composite
composite a_row rotate <0 -3 0> translate < 38 0 0> end_composite
composite a_row rotate <0 3 0> translate <-38 0 0> end_composite
object
intersection
plane < 1.0 0.0 0.0> 1.0 end_plane
plane <-1.0 0.0 0.0> 1.0 end_plane
plane < 0.0 1.0 0.0> 1.0 end_plane
plane < 0.0 -1.0 0.0> 1.0 end_plane
plane < 0.0 0.0 1.0> 1.0 end_plane
plane < 0.0 0.0 -1.0> 1.0 end_plane
end_intersection
translate <0 -1 0>
scale <10 20000 99999>
rotate <0 3 0>
translate <-38 0 0>
texture planetexture end_texture
end_object
object
intersection
plane < 1.0 0.0 0.0> 1.0 end_plane
plane <-1.0 0.0 0.0> 1.0 end_plane
plane < 0.0 1.0 0.0> 1.0 end_plane
plane < 0.0 -1.0 0.0> 1.0 end_plane
plane < 0.0 0.0 1.0> 1.0 end_plane
plane < 0.0 0.0 -1.0> 1.0 end_plane
end_intersection
translate <0 -1 0>
scale <10 20000 99999>
rotate <0 -3 0>
translate <38 0 0>
texture planetexture end_texture
end_object
object light3 translate < -40 365 -420> end_object
object light3 translate < 180 240 -50> end_object
object light3 translate <-380 40 -20> end_object
object light1 translate < 28 50 -220> end_object