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

 
Output of file : SUPERQ.PI contained in archive : PLYDAT.ZIP
# Sample transcendental surface. This is a basic superquadric shape (a pinchy).
# There seems to be a problem with the shading, and there are severe holes
# at the edges.
# Polyray input file - Alexander Enzmann

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

# Set up background color & lights
background SkyBlue
light <10,10,-10>

define shiny_red
texture {
surface {
ambient red, 0.2
diffuse red, 0.6
specular white, 0.8
microfacet Reitz 10
}
}

define unit_sphere
object { sphere <0,0,0>, 1 }

# Define a superquadric surface
object {
function |x|^0.75 + |y|^0.74 + |z|^0.75 - 1
shiny_red
bounds unit_sphere
rotate <0, 30, 0>
}


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