#include "colors.inc" #include "shapes.inc" #include "shapes2.inc" difference { object { Icosahedron } object { Icosahedron scale 0.95 rotate 15 } pigment { Clear } hollow interior { media { emission 3 absorption 8 intervals 30 samples 2, 20 } } } sphere { 0, 5 hollow pigment { Clear } interior { media { intervals 20 samples 3, 10 scattering { 1, 0.35 extinction 0.1 } absorption Cyan*0.25 density { onion turbulence 0.125 octaves 4 color_map { [0 Red] [0.5 Yellow] [1 Black] } scale 3 } } /* media { intervals 20 samples 3, 10 emission 0.125*Yellow absorption 0.125 density { onion color_map { [0 Red] [0.5 Yellow] [1 Black] } scale 3 } } */ } } camera { location <0.0 , 0.0 ,-4.0> look_at <0.0 , 0.0 , 0.0> } // create a regular point light source light_source {0, White fade_distance 1.25 fade_power 2 media_attenuation off}