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
}
}
}