When I tried to load the IES file in an Emission node I received the error "Unsupported photometric type IES file: 2". I looked through the LuxCore source and headers, and found:
Code: Select all
const size_t vpos = templine.find_first_of("IESNA");
if (vpos != string::npos)
m_Version = templine.substr(templine.find_first_of(":") + 1);
else
return false;
Code: Select all
if (data.m_PhotometricType != PhotometricDataIES::PHOTOMETRIC_TYPE_C)
throw runtime_error("Unsupported photometric type IES file: " + ToString(data.m_PhotometricType));
Code: Select all
enum PhotometricType {
PHOTOMETRIC_TYPE_C = 1,
PHOTOMETRIC_TYPE_B = 2,
PHOTOMETRIC_TYPE_A = 3
};
This isn't a big deal, there are lots of IES files to choose from, but I just wondered if I understood the error correctly.
This is the information at the start of the file:
Code: Select all
IESNA:LM-63-2002
[TEST]17071330 17071331 17071430
[TESTLAB] GE LIGHTING SOLUTIONS-HENDERSONVILLE NC USA
[ISSUEDATE] 12/13/2017
[MANUFAC] GE LIGHTING SOLUTIONS
[LUMCAT] EFM101_CCT3740________
[LUMINAIRE] EVOLVE FLOOD EFM101
[DISTRIBUTION] TYPE 3
[LAMPCAT] LEDs
[LAMP] LED
[OTHER]
[MORE]
[_DRIVE_CURRENT]
[_CCT] 4000K
[_CRI] 70
[_ABSOLUTELUMENS] 15000
[_SYSTEM_WATTS] 141
[_ACCESSORIES]
[_SEARCH_SOURCETYPE] LED
[_SEARCH_CRI] 70
[_SEARCH_COLORTEMP] 4000K
[_SEARCH_APPLICATION] Outdoor, Architectural, Area, Automotive, Commercial, Dock, Educational, Facade, Government, Healthcare, Hospitality, Hotel, Industrial, Landscape, Library, Manufacturing, Office, Parking, Parks, Prison, Recreation, Retail, Sign
[MORE] Site, Street, Utility, Walkway, Direct, Flood, Security, Wall Wash, Wet Location
[_SEARCH_MOUNTING] Knuckle, Pole, Wall
[_SEARCH_CERTIFICATION] UL
[_SEARCH_CLASSIFICATION] IP66
TILT=NONE
1 -1 1 73 73 2 1 1.06 0.54 0
1 1 141
(I was going to attach the file but the 'Add files' function wouldn't let me attach an IES file or a text file)
P.S. Ok I've attached the zipped IES file: