/* Persistence of Vision Ray Tracer Scene Description File File: Solar.pov Vers: 3.6 Desc: Experimenting with media to create a star. Date: 05/05/2005 Auth: Anthony D. Baye // Note: kolors.inc can be safely replaced by colors.inc, I use an extended color include file, though I can't remember where I got it. */ #include "kolors.inc" #include "textures.inc" #declare ft = 12 ; #declare mi = 5280*ft; #declare cm = ft/2.54; #declare km = mi*2.54; /* !--- Global Switches ---! */ #declare RAD = off ; #declare PHO = on ; /* -------------------------------- */ global_settings { #if(RAD) radiosity { pretrace_start 0.08 pretrace_end 0.01 count 35 nearest_count 5 error_bound 0.2 recursion_limit 2 low_error_factor 0.2 gray_threshold 0.2 minimum_reuse 0.015 brightness 0.57 adc_bailout 0.01/2 } #end #if (PHO) photons { count 20000 autostop 0 jitter 0.4 media 50, 30 } #end } #default { pigment { rgb 0.71875 } finish { ambient 0.3 diffuse 0.5 } } #declare Orbit = 5.0 ; camera { location look_at } /* camera { location <4.0, 2.175, -15.0> look_at <-4.35, 1.0375, 0.0> } */ light_source { <0.0, 0.0, 0.0> color 1 photons { reflection on refraction on } media_interaction off } #declare Corona = density { bozo sine_wave turbulence 1.5 octaves 6 lambda 0.2 phase 0.75 color_map { [0.0 color rgbf <0.0, 0.0, 0.0> ] [0.4375 color rgbf <0.0, 0.0, 0.0> ] [0.5625 color rgbf <0.0, 0.0, 0.5> ] [0.625 color rgbf <0.0, 0.3125, 0.75> ] [0.71875 color rgbf <0.0, 0.625, 1.0> ] [0.75 color rgbf <0.0, 0.875, 1.0> ] [0.8125 color rgbf <0.0, 0.0, 0.5> ] [0.875 color rgbf <0.0, 0.0, 0.0> ] [1.0 color rgbf <0.0, 0.0, 0.0> ] } scale 1/3 } object { sphere { 0.0, 4.5 hollow on } pigment { Clear } finish { ambient 1 diffuse 0 } interior { media { method 3 intervals 1 scattering { 3, White } samples 30, 50 emission rgb 2 density { spherical color_map { [0.0 color rgb <0.125, 0.125, 0.0> ] [0.00390625 color rgb <1.0, 1.0, 0.0> ] [0.0078125 color rgb 0.0 ] [0.03125 color rgb 0.15625 ] [0.09375 color rgb 0.25 ] [0.1875 color rgb 0.375 ] [1.0 color rgb 1.00 ] } scale 4.17 } } media { method 3 intervals 1 scattering { 3, White } samples 30, 50 emission rgb 2 density { bozo sine_wave turbulence 1.5 octaves 6 lambda 0.2 phase 0.75 color_map { [0.0 color rgbf 0.0 ] [0.4375 color rgbf 0.0 ] [0.5625 color rgbf 0.5 ] [0.625 color rgbf 0.6875 ] [0.71875 color rgbf 0.75 ] [0.75 color rgbf 0.75 ] [0.8125 color rgbf 0.5 ] [0.875 color rgbf 0.0 ] [1.0 color rgbf 0.0 ] } scale 1/3 } } } photons { pass_through reflection on refraction on } } media { method 3 intervals 1 scattering { 3, White } samples 30, 50 density { bozo sine_wave turbulence 1.5 octaves 6 lambda 0.2 phase 0.75 color_map { [0.0 color rgbf <0.0, 0.0, 0.0> ] [0.4375 color rgbf <0.0, 0.0, 0.0> ] [0.5625 color rgbf <0.0, 0.0, 0.5> ] [0.625 color rgbf <0.0, 0.21875, 0.75> ] [0.71875 color rgbf <0.0, 0.46875, 1.0> ] [0.75 color rgbf <0.0, 0.71875, 1.0> ] [0.8125 color rgbf <0.0, 0.0, 0.5> ] [0.875 color rgbf <0.0, 0.0, 0.0> ] [1.0 color rgbf <0.0, 0.0, 0.0> ] } scale 1/3 } } plane { z, -1e5 texture { Starfield } }