POV-Ray : Newsgroups : povray.general : user-defined media density function : Re: user-defined media density function Server Time
31 Jul 2024 22:11:17 EDT (-0400)
  Re: user-defined media density function  
From: Nekar Xenos
Date: 27 Aug 2006 14:28:20
Message: <44f1e444@news.povray.org>
I did something similar before. I modified the densities in mediasky.pov 
according to info from http://en.wikipedia.org/wiki/Earth's_atmosphere and 
http://en.wikipedia.org/wiki/Ozone_layer

Interestingly the sky wouldn't look right untill I added the ozone layer. 
Unfortunately I have lost these files and I have to do it all over again some 
time.


-- 
/* Nekar Xenos */#local N=<-20,40,100>;#local K=<20,-40,100>;#local R=seed(0);
blob{#while((K-N).x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local N=(
vlength(N-K)<vlength(X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N
,1,1 scale.02}sphere{<-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1
scale.01 }#end pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.