POV-Ray : Newsgroups : povray.general : luminance : luminance Server Time
6 Oct 2024 09:40:09 EDT (-0400)
  luminance  
From: CAS
Date: 13 Apr 2014 21:45:00
Message: <web.534b3d0ee9ad988e6a92a3a00@news.povray.org>
My goal is getting luminance of final pixels.I have set the output openexr.I
have converted the irradiance to illumiance as the lightsource input,my code is
as below:

#version 3.7;
global_settings{ assumed_gamma 1.0 }
#include "spectral.inc"
#declare SpectralWavelength =700;

camera
{
angle  7.54371
location <camera_x,camera_y,camera_z >
look_at <0,0,0>
rotate <0,-31,0>
right x
up y
}

light_source {<sun_x,sun_y,sun_z>
             SpectralEmission(3.99750132) //convert irradince to illuminance as
input
             }

sphere
    {
      <x1-center_x,y1-center_y,z1-center_z>,
      1.55
       finish {
                 ambient 0
                 emission 0
                 specular ref
               }
      }
I have read the openexr resorce code .It says the y channel represents luminance
,how can I set in pov ?Beg a hot!


Post a reply to this message

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