// Desc: julia_fractals with emitting media // Date: Aug. 5th. 2003 // Auth: Gary BLessing {blessing@icefog.net} //the texture include file #include "nef.inc" camera { location <0.0, 2.0, -5.0> look_at <0.0, 0.0, 0.0> right x*image_width/image_height } #declare J1= julia_fractal { <-0.53,0.0,-0.75,-0.255> quaternion sqr max_iteration 8 precision 20 hollow material{Emitting_texture1} }; #declare J2= julia_fractal { <-0.53,0.0,-0.75,-0.255> quaternion sqr max_iteration 8 precision 20 hollow material{Emitting_texture2} }; #declare J3= julia_fractal { <-0.53,0.0,-0.75,-0.255> quaternion sqr max_iteration 8 precision 20 hollow material{Emitting_texture3} }; #declare J4= julia_fractal { <-0.53,0.0,-0.75,-0.255> quaternion sqr max_iteration 8 precision 20 hollow material{Emitting_texture4} }; #declare J5= julia_fractal { <-0.53,0.0,-0.75,-0.255> quaternion sqr max_iteration 8 precision 20 hollow material{Emitting_texture5} }; #declare J6= julia_fractal { <-0.53,0.0,-0.75,-0.255> quaternion sqr max_iteration 8 precision 20 // slice <0,0,0,1>,0 hollow material{Emitting_texture6} }; #declare G1= union{ object{ J1 } object{ J2 translate 3*y } object{ J5 translate 2*x } object{ J3 translate 1*z translate 1*y } object{ J6 translate -3*x } object{ J4 translate -2*y } }; #declare G2= union{ object{ J2 } object{ J1 translate -3*y } object{ J5 translate -2*x } object{ J3 translate -1*z translate -1*y } object{ J6 translate -3*x } object{ J4 translate -2*y } }; #declare one_group= union{ object{G1 } object{G2 rotate 90*z translate <0,0.65,0> } object{G1 rotate -70*z translate <-0.4,-0.55,1> } } object {one_group } object {one_group rotate 45*z } object {one_group rotate 90*z } object {one_group rotate 135*z } object {one_group rotate 180*z } object {one_group rotate 225*z } object {one_group rotate 270*z } object {one_group rotate 315*z }