Page 1 of 1

IES light bug

Posted: Fri Sep 07, 2012 7:12 am
by clintonman
I think I found a bug. I downloaded a file from the GE website and it's a 90 degree file, see attached. When I try to use it I get "Scene must contain at least one light source." error. The problem seems to be the -1 after the TILT=NONE line.
Here is a part of the file:

Code: Select all

[_CANDELA-MULTIPLIER] 1
[_RATED-LUMENS] 755
[_RATED-LIFE] 2000
[_BEAM-ANGLE]
[_DETAILS] 
[_FILE-UPDATED] JAN06
[OTHER] TEST DATE 9-7-1995
TILT=NONE
1 -1 1.0 29 1 1 1 0 0 0
1 1 65
0 1.25 2.5 3.75 5 6.25 7.5 8.75 10 12.5 15 17.5 20 22.5 25 
27.5 30 35 40 45 50 55 60 65 70 75 80 85 90 
0 
1600 1604 1576 1534 1472 1394 1309 1212 1087 874 691 518 
388 297 237 201 179 157 147 143 124 83 45 29 26 25 19 19 
21 


If I edit the file and replace the -1 with 755 it works. This page, http://www.vuw.ac.nz/architecture-onlin ... ormat.html, says a value of -1 is valid for an ies file:

Code: Select all

[_CANDELA-MULTIPLIER] 1
[_RATED-LUMENS] 755
[_RATED-LIFE] 2000
[_BEAM-ANGLE]
[_DETAILS] 
[_FILE-UPDATED] JAN06
[OTHER] TEST DATE 9-7-1995
TILT=NONE
1 755 1.0 29 1 1 1 0 0 0
1 1 65
0 1.25 2.5 3.75 5 6.25 7.5 8.75 10 12.5 15 17.5 20 22.5 25 
27.5 30 35 40 45 50 55 60 65 70 75 80 85 90 
0 
1600 1604 1576 1534 1472 1394 1309 1212 1087 874 691 518 
388 297 237 201 179 157 147 143 124 83 45 29 26 25 19 19 
21 

Re: IES light bug

Posted: Thu Nov 01, 2012 5:57 am
by OnoSendai
Thanks for bug report clintonman, will fix!

Re: IES light bug

Posted: Thu Nov 01, 2012 6:36 am
by OnoSendai
Fixed for upcoming release.

Re: IES light bug

Posted: Thu Nov 01, 2012 1:09 pm
by clintonman
Good news. You work fast. Time between "thanks for the report" and "fixed" less than 1 hour.

Re: IES light bug

Posted: Thu Nov 01, 2012 6:19 pm
by delle
Ono I have the source code to complete process IES Lights, asymmetric light too :wink:

It even manages light with partial angles (eg. 0,45,90 or 0 to 90 and 270 to 360), it calculates missing values using Splines.

At the end of the processing it return the complete angles (0 to 360)

If you send me a PM with an e-mail I will send you the source code (C language).

Bye

Delle

Re: IES light bug

Posted: Fri Nov 02, 2012 3:48 am
by OnoSendai
Hi Delle,
Thanks for the offer.
Indigo supports asymmetric IES profiles.

Re: IES light bug

Posted: Fri Nov 02, 2012 5:45 am
by delle
Ooops I miss it :oops:

Edit: Which is the minimum Indigo version that supports them? E.g. starting from version.... (to configure my exporter)

Bye