[Radiance-general] gendaylit, dls, glare factors

pillo [email protected]
Sun, 17 Mar 2002 20:52:23 +0100


i m osx beginner.
also rad beginner.
everything  beginner.
you ll realize soon, reading my three questions ..;-)))))))))))

FIRST QUESTION:
while trying to compile gendaylit (on osx UNIX) i get this error:

% make
cc -Ae -g        -c sun.c
cpp-precomp: Invalid option '-Ae'
make: *** [sun.o] Error 1

so i removed the -Ae tag (HP UNIX?) but with -ansi tag ...
... and another error message appeared

%make
cc -ansi -c sun.c
cc -ansi -c fropen.c
paths.h:62: only 1 arg to macro 'fropen' (2 expected)
fropen.c:20: only 1 arg to macro 'fropen' (2 expected)
fropen.c:20: illegal external declaration, missing `;' after `fropen'
fropen.c:26: illegal external declaration, found `if'
fropen.c:43: illegal method selector, found `1'
fropen.c:44: illegal method definition, missing `{' after `/'
fropen.c:46: illegal external declaration, found `if'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make: *** [fropen.o] Error 1

so i lost my faith...
...thinking i had to edit the c source.
is anybody so kind and nice to help me compiling such program?

SECOND QUESTION:
i found a java program, DLS, and i tried to use it.
BUT although i have a working radiance install on my ibook this program 
tells kindly that radiance cannot run on a MAC.
i think it understands that ti's working on apple VJM and stops.
any idea about the way of telling it it's wrong, that radiance CAN run 
on macOSX?

THIRD QUESTION:
glare calculation.
if i use IES files to generate proper radiance light sources, does 
radiance consider them in glare calculation?
which trick should i use to solve this  (mapping luminance distribution 
on a glow material?)?




THANKS A LOT
[email protected]