[Radiance-general] specifying sources
Gregory J. Ward
gregoryjward at gmail.com
Mon Mar 27 07:19:05 CEST 2006
Hi Will,
> firstly, i want to specify the brightness of my light sources
> accurately. i am using photos (hdr images assembled from several
> photos) to specify the output distribution of the source (theatre
> spotlights) and i know the "light output in lux" at various
> distances from the lens (from here: http://www.seleconlight.com/
> english/support/english/acclaim%20pc.pdf ) and i assume that they
> give the figure for the centre of the beam, rather than the average
> over the whole field.
> what i'm stuck on is what figures i should use for the (rgb)
> brightness in the rad file description of the "light" material.
I don't have a ready example to offer, but the basic idea is to apply
the HDR capture as a pattern to your light source, indexing the image
a perspective projection:
void colorpict spot_dist
7 red green blue capture.hdr .
(-Dx/Dz)/A1+.5 (Dy/Dz)/A1+.5
0
1 0.404026
spot_dist light spot_output
0
0
3 3881 3881 3881
The value given in the colorpict's first argument (A1) is the tangent
of the subtended horizontal angle. The image (capture.hdr) is
assumed to be square.
To get the right output value for your lamp, you can create as scene
to match the lux measurement you have and render it in rvu with the -
i option, having it report on the illuminance for a surface at the
same distance with the 'trace' command. Then, apply a correction
equal to the ratio between this value and the measured one to your
light color (3881 in the example above).
> i need the light output of these sources to be physically accurate,
> because i want to compare them to models using ies-data described
> distributions.
> i would like to be able to colour correct these sources (i believe
> the ies2rad will do this automatically) given the colour
> temperature of the bulb.
Rendering with an RGB color isn't very accurate and won't look right
unless you apply a more sophisticated spectral technique, such as the
one described in the paper:
http://www.anyhere.com/gward/papers/egwr02/
> secondly i want to colour my lights, as though they had colour
> filters in front of the lense, and i dont really understand the
> colour space that radiance uses. can anyone point me towards any
> resources on this?
> i want to model the colours of commercially available filters (such
> as this one: http://www.leefilters.com/LPFD.asp?PageID=248 ) but
> i cant find any RGB transmission data for them. is it possible to
> convert the XYZ values given on the data sheet to RGB?
The following command will take XYZ values on its input (triplets)
and produce Radiance RGB values on its output:
rcalc -f ray/src/cal/xyz_rgb.cal -e '$1=R($1,$2,$3);$2=G($1,$2,$3);
$3=B($1,$2,$3);'
Expect to be disappointed by the results if you don't apply white-
balancing afterwards.
-Greg
More information about the Radiance-general
mailing list