home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet 1996 World Exposition
/
park.org.s3.amazonaws.com.7z
/
park.org.s3.amazonaws.com
/
cgi-bin
/
Japan
/
Theme
/
bearth
/
bearth.inc
< prev
next >
Wrap
Text File
|
2017-09-21
|
2KB
|
77 lines
#declare BGColor = color red 0.1 green .25882352941 blue .48235294118
#declare Camera_Distance = 10.0
#switch (clock)
#case (0)
#declare Camera_Direction = <25.0, -135.0, 0.0> // Asian View
#break
#case (1)
#declare Camera_Direction = <25.0, -15.0, 0.0> // Wuropian View
#break
#case (2)
#declare Camera_Direction = <17.0, 105.0, 0.0> // American View
#break
#case (3)
#declare Camera_Direction = <-90.0, -135.0, 0.0> // Nankyoku View
#break
#end
// set viewer's position in the scene
camera
{
orthographic
location <0.0, 0.0,-1.0> // position of camera <X Y Z>
up 2.88*y // which way is +up <X Y Z>
right 2.88*x // which way is +right <X Y Z> and aspect ratio
look_at <0.0, 0.0, 0.0> // point center of view at this point <X Y Z>
translate (1-Camera_Distance)*z
rotate Camera_Direction
}
// create a regular point light source
light_source
{
0*x // light's position (translated below)
color red 1.0 green 1.0 blue 1.0 // light's color
translate <0, 0, -20>
rotate Camera_Direction+<20, 10, 0>
}
global_settings {
ambient_light color rgb <1,1,1>
}
background { BGColor }
//////////////////////////////////////////////////////////////////////
#declare BaseTexture =
texture {
pigment {
color rgbt <1,1,1,0.0>
}
finish {
ambient 0.3
diffuse 0.7
phong 0.1
}
}
#declare LandLineTexture =
texture {
pigment {
image_map {
gif "landline3.gif"
map_type 1 // 0=planar, 1=spherical, 2=cylindrical, 5=torus
transmit 0 1.0
transmit 1 1.0
transmit 2 0.0
}
rotate 110*y
}
finish {
ambient 0.4
diffuse 0.8
}
}