Back to photostream

weighted ultra stochastic cube

// Camera settings. Place these before first rule call.

set translation [-0.464996 0.199158 -20]

set rotation [0.337558 -0.818338 0.465064 -0.890809 -0.437413 -0.12311 0.304168 -0.37273 -0.876636]

set pivot [0 0 0]

set scale 1

 

set background white

 

ecube

 

rule ecube md 3 > scube {

{ x 1 y 1 z 1 s 1/2 } ecube

{ x -1 y 1 z 1 s 1/2 } ecube

{ x 1 y -1 z 1 s 1/2 } ecube

{ x -1 y -1 z 1 s 1/2 } ecube

{ x 1 y 1 z -1 s 1/2 } ecube

{ x -1 y 1 z -1 s 1/2 } ecube

{ x 1 y -1 z -1 s 1/2 } ecube

{ x -1 y -1 z -1 s 1/2 } ecube

}

 

rule scube w 2{

{s 4 h 220}box

}

 

rule scube {

{h 5} sphere

6 * {h 5 x 0.3}sphere

6 * {h 5 x -0.3}sphere

}

 

rule scube md 3 > cube {

{ x 1 y 1 z 1 s 1/2 } scube

{ x -1 y 1 z 1 s 1/2 } scube

{ x 1 y -1 z 1 s 1/2 } scube

{ x -1 y -1 z 1 s 1/2 } scube

{ x 1 y 1 z -1 s 1/2 } scube

{ x -1 y 1 z -1 s 1/2 } scube

{ x 1 y -1 z -1 s 1/2 } scube

{ x -1 y -1 z -1 s 1/2 } scube

}

 

rule cube {

{h 5} sphere

6 * {h 5 x 0.3}sphere

6 * {h 5 x -0.3}sphere

}

 

rule cube {

{s 4 h 220}box::phong

}

 

set raytracer::phong [0.6,0.6,0.3]

set raytracer::max-threads 2

set raytracer::ambient-occlusion-samples 8

 

525 views
0 faves
0 comments
Uploaded on November 9, 2010
Taken on November 9, 2010