Maxwell Render

Maxwell Render Information Repository
It is currently Thu May 23, 2013 9:38 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: IES files
PostPosted: Wed Jun 23, 2010 8:52 pm 
User avatar

Joined: Sat Jan 05, 2008 7:20 pm
Posts: 11
Location: London
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:
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

_________________
_______________________________
Peter Pajor
Freelance 3D Visualiser
London


Top
 Profile  
 
 Post subject: Re: IES files
PostPosted: Thu Jun 24, 2010 8:54 am 
User avatar

Joined: Wed Oct 18, 2006 8:20 am
Posts: 1825
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.


Top
 Profile  
 
 Post subject: Re: IES files
PostPosted: Thu Jun 24, 2010 10:36 am 

Joined: Wed Oct 06, 2004 5:57 pm
Posts: 34
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.


Top
 Profile  
 
 Post subject: Re: IES files
PostPosted: Thu Jun 24, 2010 11:58 am 
User avatar

Joined: Sat Jan 05, 2008 7:20 pm
Posts: 11
Location: London
Now it works!! thanks for the fast respond!
Peter

_________________
_______________________________
Peter Pajor
Freelance 3D Visualiser
London


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group