2

findglare and glarendx

Dear All,

I tried to use findglare and glarendx to find glare on an .hdr file. However, I encounter 2 problems and dont know which one is the reason for not getting the result could any one help to explain the possible reason for this? 1. findglare return error message with "warning missing 24% of samples" 2. glarendx gets dgi of 0.00 or -1.#IND00 Below is the script I am using. Thanks!

findglare -ga 10-60:10 -p model_M12D22T16_view.hdr > model.glr
glarendx -t dgi -h model.glr > model_M12D22T16.txt
zjingwen's avatar
31
zjingwen
asked 2020-02-13 08:54:06 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-02-14 10:50:34 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

3

First of all, findglare and glareindx are fairly old programs in the Radiance suite. Since their publication, an entire glare metric (DGP) and tool for calculating DGP (evalglare) have emerged and been added to the Radiance distribution. DGP is more focused on daylight glare (hence the 'D' in DGP), so perhaps you're going more of an electric lighting glare study, but wanted to make this point.

Assuming you are indeed looking at an electric lighting glare evaluation, I'd say based on these warnings you have an issue with the input HDR image, your chosen area of interest (angles in the -ga option), or both.

The person best qualified to answer these questions is Greg Ward but I'm not sure he monitors this forum as frequently as he (and the rest of the Radiance community) monitors the Radance Discourse forums here: https://discourse.radiance-online.org/

Maybe try reposting your issue there...

rpg777's avatar
7k
rpg777
answered 2020-02-13 10:23:15 -0500
anchapin's avatar
626
anchapin
updated 2020-02-14 06:24:56 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
2

There is a bug in the dgi calculation of glarendx when sources are behind the viewer. Raphael Compagnon wrote this particular formula, and I am not sure what is wrong with it. I will try writing to him about it again. The 24% missing samples has to do with an insufficient view as Rob points out.

I also recommend looking into the newer evalglare program.

P.S. to the above. I have checked in a fix to the glarendx program, which will need to be recompiled from source until the distributions update. You can find & download it from the CVS repository https://www.radiance-online.org/cgi-bin/viewcvs.cgi/ray/src/util/glarendx.c?view=log

GregWard's avatar
1.2k
GregWard
answered 2020-02-14 09:36:10 -0500, updated 2020-02-17 13:25:57 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Yes, I got something similar! Does anyone know what's happening? Is it because I am using Wndows 10?

-60.000000  1.#QNAN0
-50.000000  1.#QNAN0
-40.000000  1.#QNAN0
-30.000000  1.#QNAN0
-20.000000  1.#QNAN0
-10.000000  1.#QNAN0
0.000000    1.#QNAN0
10.000000   1.#QNAN0
20.000000   1.#QNAN0
30.000000   1.#QNAN0
40.000000   1.#QNAN0
50.000000   1.#QNAN0
60.000000   1.#QNAN0
EUI_is_Life's avatar
1
EUI_is_Life
answered 2020-02-13 09:27:53 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments