(191k)
//以下為TITLE PAGE的程式部分
/*========================================*
* Home page Title ( 1994,10,10 ) *
*========================================*/
#include color.bc
studio {
from 0 -100 15
at 0 0 0
up 0 0 1
angle 50
res 640 480
antialias adaptive
threshold 2
aspect 1.333
background {
greys.map
}
ambient .1 .1 .1
no_shadows
}
light {
type point
falloff 0
position -50 -200 150
color white
}
light {
type spot
position -5 -15 15
at 0 0 0
min_angle 15
max_angle 20
color 35 35 35
falloff 1
}
//========== Background Plane =============
// wood surface
surface {
texture {
turbulence {
scale .1 .9 1
amp .3
terms 3
}
pattern spherical
scale 10 0.5 1
translate 5 0 0
blend .5
radius .9
radius .3
surf {
texture {
pattern noise
scale 5 .03 .03
terms 2
surf { diff brown shine 100 white }
surf { diff medium_tan shine 100 white }
}
}
surf {
texture {
pattern noise
scale 5 .03 .03
terms 2
surf { diff dim_brown shine 20 white }
surf { diff dark_tan shine 20 white }
}
}
}
}
polygon {
points 4
vertex -200 20 -200
vertex -200 20 200
vertex 200 20 200
vertex 200 20 -200
}
//=========== 4 Balls ====================
surface { diff red spec .1 .1 .1 shine 20 .5 .5 .5 }
sphere { center 0 -8 -8 radius 7 }
surface { diff blue spec .1 .1 .1 shine 20 .5 .5 .5}
sphere { center 7.5 4.5 -7.5 radius 7.5 }
surface { diff green spec .1 .1 .1 shine 20 .5 .5 .5}
sphere { center -7.5 4.5 -7.5 radius 7.5 }
surf {
transparent .98 .98 .98
specular .1 .1 .1
ior 1.6
shine 100 white
}
sphere { center 0 0 2.5 radius 7.5 }
//====== Transforms ( *.BO ) ===================
// Bump Brass Metal
surface {
bump {
turbulence {
scale .5 .5 .5
amp .5
terms 2
}
}
amb 0.035 0.0325 0.025
diffuse 0.5 0.45 0.35
spec 0.4 0.4 0.4
shine 3
}
transform { scale 1.2 }
transform { rotate 0 0 0 }
transform { translate -32 0 20 }
#include tnobj.bo
transform_pop
transform_pop
transform_pop
// Red bump surface
surface {
bump {
turbulence {
scale .25 .25 .25
amp .5
terms 3
}
}
amb 0.035 0.0325 0.025
diffuse 0.85 0.45 0.5
spec 0.95 0.4 0.4
shine 3
}
transform { scale 1.25 }
transform { rotate 0 0 0}
transform { translate -25 -10 -10 }
#include them.bo
transform_pop
transform_pop
transform_pop
// Bump blue surface
surface {
bump {
turbulence {
scale .25 .25 .25
amp .5
terms 5
}
}
amb 0.035 0.0325 0.025
diffuse 0.5 0.45 0.85
spec 0.4 0.4 0.95
shine 3
}
transform { scale .86 }
transform { rotate 0 0 0}
transform { translate -47 -5 -35.5 }
#include dir.bo
transform_pop
transform_pop
transform_pop
//==============================================