Home About Logic Game Gallery Stereograms Animations Quotes History
< Gallery Stereograms Animations >

SIRDS(1) SIRDS(2) >
thumbnail of pa04.png thumbnail of pa04o.png

currently, i mainly use povray for doing stuff like this.
here you can see one of the first scenes i created for testing the SIRDS algorithm, as well as the resulting stereogram.

to create the scene, i used this:


//  pa04.pov    
//  from    pa03.pov
//  Su 20030105
//
//  further pattern experiments - SIRDS
//

camera {
    #declare cam   = < 0.5, 0, -15>;
    #declare vp    = < 0.5, 0,   0>;
    location cam
    look_at  vp
    angle 60
}


intersection {

    union {
        box { -5  , +5   inverse }
        box { -1.5, +1.5 rotate <40, 40, 0> translate <-2, +2, -2> }
        box { -1.5, +1.5 rotate <40, 40, 0> translate <+2, -2, +2> }
        cylinder { <-5, -5, +0> <+5, +5, +0>, 0.5 }
    }

    plane { -z, 4.999 }
    
    texture {
        pigment {
            gradient z ramp_wave
            color_map {
                // from close (0, black) to far (1, white)
                [ 0 color rgb 0 ]
                [ 1 color rgb 1 ]
            }
            scale 10.001 translate -5*z
        }
        finish {
            ambient  1  diffuse 0
            specular 0  phong   0
        }
    }
}


All Material © 1997-2022 PSiCO Productions - psico2014@psico.ch
Valid HTML 4.01 Transitional Valid CSS