User avatar
By kooma
#325519
Hi!

I have some problem using IES files as emitter in LW 9,3 MW 2,0,8
According to the tutorial I created a small 5mm low res ball than I assigned the .ies file to the emitter and deleted the BSDF material under it. When I refresh the view it does not show the light distribution like in the tutorial.
When I render it it sais: ERROR: - Photometric file not found
what is strange as the path is correct.

I tried different IES files but no idea how to make it work...

ies code:
Code: Select all
IESNA91
[TEST]     Test unknown
[MANUFAC]  Manufacturing company unknown
TILT=NONE
1 13172.61 1
37 1
1
2
0 0 0
1 1 0
 0.00 2.50 5.00 7.50 9.11 10.00 10.80 12.50 15.83 22.50 25.00 27.50 32.50 34.28 35.00 42.50 47.02 47.50 47.81 50.00 50.78 52.50
 55.00 57.50 60.00 62.50 65.00 67.50 70.00 72.50 75.00 77.50 80.00 82.50 85.00 87.50 90.00
 0.00
 8379.00 8409.00 8528.00 8126.65 8500.00 8564.00 8301.00 8158.61 8411.98 8036.59 7865.61 7283.76 5209.38 6038.93 4533.49 3091.00
 3665.38 2996.97 3625.45 2194.62 3170.85 1115.28 651.00 450.00 244.00 102.00 80.00 43.00 5.00 2.00 0.00 0.00 0.00 0.00 0.00 0.00
 0.00
User avatar
By Mihnea Balta
#325541
When Maxwell says "Photometric file not found" and the file is there, it means it cannot parse it. The plug-in is using the same IES loading code as Maxwell, so it cannot display it in the viewport either. Does this file work with other programs that support IES? I'll pass it along to the person in charge of IES, maybe he can tell us exactly why it doesn't load.
User avatar
By Miguel
#325545
Hi,

after the line that reads TILT=NONE, a single line with 10 numbers must follow, but the numbers in the example are split into 4 or 5 lines. The IES format specifies that this must be a single line but, for some reason, some programs split that line. If you put those numbers on the same line it will work.

This is how it should look like:
.....
TILT=NONE
1 13172.61 1 37 1 1 2 0 0 0
1 1 0
.......

Since this de facto standard can have more than one line, i've adapted the reader to cope with split lines, and this will be available for the next patch.

Hope this helps.
Miguel.
User avatar
By kooma
#325552
Now it works!! thanks for the fast respond!
Peter

after a lot of years doing arch-viz... almost 20 a[…]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]

Hey, I guess maxwell is not going to be updates a[…]

Help with swimming pool water

Hi Choo Chee. Thanks for posting. I have used re[…]