Category : Printer + Display Graphics
Archive   : PLYDAT.ZIP
Filename : NOISE4.PI

 
Output of file : NOISE4.PI contained in archive : PLYDAT.ZIP
# Generic Polyray input File
# Polyray input file: Alexander Enzmann

# Set up the camera
viewpoint {
from <0, 0, -8>
at <0,0,0>
up <0,1,0>
angle 45
resolution 640, 320
aspect 2
}

background <0, 0, 0>
light <-15, 3, -20>
light < 15, 3, -20>

# Definitions of noise texture components
define position_plain 0
define position_objectx 1
define position_worldx 2
define position_cylindrical 3
define position_fmodx 4
define position_fmodxy 5
define position_fmodxyz 6

define lookup_plain 0
define lookup_sawtooth 1
define lookup_cos 2
define lookup_sin 3

define bump_normal 1
define ripple_normal 2

# Simple color map texture
define noise_texture0
texture {
noise surface {
color white
position_fn position_plain
lookup_fn lookup_cos
normal bump_normal
turbulence 2
frequency 3
bump_scale 3
octaves 2
ambient 0.1
diffuse 0.5
specular 0.6
microfacet Reitz 10
color_map(
[0, 0.2, red, orange]
[0.2, 0.3, orange, blue]
[0.3, 0.5, blue, skyblue]
[0.5, 0.7, skyblue, orange]
[0.7, 0.9, orange, magenta]
[0.9, 1.0, magenta, red],
<1, 1, 1>)
}
scale <0.5, 0.5, 0.5>
}

define ripple_marble_texture
texture {
noise surface {
color white
position_fn position_objectx
lookup_fn lookup_sawtooth
octaves 4
turbulence 3
normal ripple_normal
frequency 10
bump_scale 5
ambient 0.1
diffuse 0.5
specular 0.6
microfacet Reitz 10
color_map(
[0.0, 0.8, <1, 1, 1>, <0.6, 0.6, 0.6>]
[0.8, 1.0, <0.6, 0.6, 0.6>, <0.1, 0.1, 0.1>])
}
translate <-5, 0, 0>
}

object { sphere <0, 0, 0>, 2
noise_texture0
translate <-3, 0, 0>
}
object { sphere <0, 0, 0>, 2
ripple_marble_texture
translate <3, 0, 0>
}


  3 Responses to “Category : Printer + Display Graphics
Archive   : PLYDAT.ZIP
Filename : NOISE4.PI

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/