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

 
Output of file : NOISE3.PI contained in archive : PLYDAT.ZIP
# Generic Polyray input File
# Polyray input file: Alexander Enzmann
# Time on 20Mhz 286/ 10Mhz 287: xx setup, xxx tracing

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

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

define turb_value (fmod(frame, 8) +1) * 0.5
define octv_value (frame / 8) + 1

# 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


# Simple color map texture
define noise_texture0
texture {
noise surface {
color white
position_fn position_plain
lookup_fn lookup_plain
octaves 6
turbulence 1
ambient 0.2
diffuse 0.8
specular 0.5
microfacet Reitz 10
color_map(
[0, 0.2, red, orange]
[0.1, 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.3, 0.3, 0.3>
}

define white_marble_texture
texture {
noise surface {
color white
position_fn position_objectx
lookup_fn lookup_sawtooth
octaves octv_value
turbulence turb_value
ambient 0.2
diffuse 0.8
specular 0.3
microfacet Reitz 5
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>])
}
}

object { sphere <0, 0, 0>, 2 noise_texture0 }


  3 Responses to “Category : Printer + Display Graphics
Archive   : PLYDAT.ZIP
Filename : NOISE3.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/