POV-Ray : Newsgroups : povray.binaries.images : Dragon Lady : Re: Dragon Lady Server Time
17 May 2024 16:42:33 EDT (-0400)
  Re: Dragon Lady  
From: Stephen
Date: 7 Aug 2016 11:28:42
Message: <57a753aa@news.povray.org>
On 8/7/2016 4:13 PM, Stephen wrote:
> I would post the code but

I had better mention that I need to use a multiplier for each media to 
balance the colours.
E.g.
//------- Box0 Raw Script Begin -------
#declare Emission_Factor_R = 10.0 ;
#declare Emission_Factor_G = 3.0 ;
#declare Emission_Factor_B = 15.0 ;

#declare df3_Scarab_ =
material{
   texture {
     pigment {
       color rgbft <1.000,0.000,0.000,0.000,1.000>
     }
   }
   interior{
     ior                 1.000
     caustics            0.000
     dispersion          1.000
     dispersion_samples  7.000
     fade_power          0.000
     fade_distance       0.000
     fade_color          rgb <0.000,0.000,0.000>
     media {
       method     3
       intervals  20
       samples    3, 6
       confidence 0.900
       variance   0.008
       absorption rgb <0.000,0.000,0.000>
       emission   rgb <1.000,0.000,0.000>  * Emission_Factor_R
       aa_threshold 0.100
       aa_level    4
       density {
         density_file df3 "F:\Graphics\B3D 
Data\Scenes\Dahlgren\Eastern\B\Shenlong_01A_R_.df3"
         interpolate 2
       }

     }

     media {
       method     3
       intervals  20
       samples    3, 6
       confidence 0.900
       variance   0.008
       ratio      0.900
	 absorption rgb <0.000,0.000,0.000>
          emission   rgb <0.000,1.000,0.000> * Emission_Factor_G
       aa_threshold 0.100
       aa_level    4
       density {
         density_file df3 "F:\Graphics\B3D 
Data\Scenes\Dahlgren\Eastern\B\Shenlong_01A_G_.df3"
         interpolate 2
       }

     }

     media {
       method     3
       intervals  20
       samples    3, 6
       confidence 0.900
       variance   0.008
       ratio      0.900
       absorption rgb <0.000,0.000,0.000>
       emission   rgb <0.000,0.000,1.000> * Emission_Factor_B
       aa_threshold 0.100
       aa_level    4
       density {
         density_file df3 "F:\Graphics\B3D 
Data\Scenes\Dahlgren\Eastern\B\Shenlong_01A_B_.df3"
         interpolate 2
       }

     }

   }

   translate <-0.500,-0.500,-0.500>
}

//------- Box0 Raw Script End ---------




-- 

Regards
     Stephen


Post a reply to this message

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