Light Modification 3/n
Previous   
       Next
  Povanim  for  Blender 
jean-michel soler 2002 - 2004
vide


 
   I
  n
  d
  e
  x


To imitate the volumetric lights of blender
by using the Atmospheric Media


version blender

version povray
This is quite simple  and may work as in blender itself.  So, before  exporting :

1/ we have to activate  halo function in the lamps
2/ we have to activate mist function in the World.

The  script will automaticaly add  the necessary media definitions  ( bold written in  the following example):


//povray beta version 3.5
// POVANIM export from : testmistpovanim , Main 

sphere{<0.0,0.0,0.0>,1.0
  pigment{
   gradient y
   color_map{
   [0.0 color rgb<0.000,0.000,0.000>]
   [0.50 color rgb<0.000,0.000,0.600>]
   [1.0 color rgb<0.000,0.000,0.000>]
   }
  }
 finish{diffuse 0.7 ambient 1.0}
   scale <1.000,1.000,1.000>*100.000
 rotate x*17
 rotate <90.000,0.000,0.000>
 translate<-0.000,-11.445,0.982>
 interior{
  media { 
   intervals 1
   scattering { 1, rgb 1.0/50.000 }
   //samples 1, 10
   //confidence 0.9999
   variance 1/10000
   //ratio 0.9
  }
 }
 hollow on
}

#include "camtestmistpovanim.inc"
#include "meshtestmistpovanim.inc"
#include "lamptestmistpovanim.inc"

The  modifications can be done by hand  editing the  main***.pov file in a word processor .

One can find more information on the media parameters at these two addresses :
http://astronomy.swin.edu.au/~pbourke/povray/media/
http://www.cacr.caltech.edu/~slombey/asci/povray/pov356.htm
In frenchs :
http://rod.gelaude.chez.tiscali.fr/fr/tut/les_media.htm
and also :
http://users.skynet.be/bs936509/povfr/materiaux/mat-med-gen.htm

 



version povray bis

version povray ter




Previous    
       Next



Blender, apprenez, pratiquez, Créez, Ed. Campus Press, coll. Starter Kit
Blender Starter Kit