Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

evalglare outputs zero position index

I ran evalglare -d on the below image and it finds two glare sources, but, the second one is only 3 pixels wide and has a position index of 0. From the formulas for position index this seems impossible, and, causes a divide by zero error if you want to use the position index to calculate DGP. The command to create the image is rpict -ab 0 -ad 512 -as 256 -dj 1 -dp 1 -dt 0 -dc 1 -lw 0.001 -x 300 -y 300 -vp -19.115 2.195 4.237 -vd 0.000 1.000 0.000 -vu 0 0 1 -vth -vh 180 -vv 180

Can anyone explain? I can post the actual HDR file if needed.

image description