Dear all,
I have built Radiance by source in order to implement the Two-Phase Method Daylight Simulation.
So, I need to create the Daylight Coefficients (with rfluxmtx function) and the Sky matrix (with gendaymtx function).
I call these functions as below:
rfluxmtx -parameters -skyglow.rad oct_file.oct < points_file.pts > result_file.mtx
gendaymtx -parameters weather_file.wea > exit_file
What I am trying to achieve is to avoid storing the daylight coefficients in the file (result_file.mtx), and send the daylight coefficients as an array to the gendaymtx program.
I found that in order to send the result to another program, I have to type the following command:
rfluxmtx -parameters -skyglow.rad oct_file.oct < points_file.pts | gendaymtx -parameters weather_file.wea > exit_file
My question is, how could I access the array with the daylight coefficients (that rfluxmtx sent to gendaymtx) in the source code gendaymtx.c?
Thank you in advance!
Eva