[Radiance-general] which basis for xy to RGB conversion in lamp.tab?

Christian Fusenig christian_fusenig at gmx.de
Wed Mar 29 12:02:35 CEST 2006


Hi there,

again a color question, by the way @ Will and Greg, your discussion is 
really helping me, because i am at the same topic of integrating correct 
materials and lamps in a scene.
If i use ies2rad with the '-t' option referring to a specified lamp, how 
are the x,y values in 'lamp.tab' transfered into RGB? Is the basis 
'color.h'?  If i change the white point of color.h into D65 nothing 
changes within the RGB values.
On the other hand, if i calculate the RGB (D65)  values on my own, 
assuming Y=1, i get not the right illuminance value after applying 
rtrace and rcalc with the correct factors. e.g. $ echo "0 0 0 0 0 1" 
|rtrace -I -h lux_test.oct | rcalc -e 
'$1=179*(.22200431*$1+.70665477*$2+.07134092*$3)'
Thanks so far,

Christian

-- 
Christian Fusenig
Diplomand, Medientechnik
Undergraduate, Media Technology
Hamburg University Of Applied Sciences
http://www.mt.haw-hamburg.de

address: Beim Schlump 27/07
              20144 Hamburg

email:    christian_fusenig at gmx.de

mobile:  ++49 179 5975845









More information about the Radiance-general mailing list