IES renderer

Hi,

I’m trying to create a python ies renderer (or better, ies file previewer).
The goal is to be able to call functions and preview from 3dsmax, but I guess it cold also serve for maya etc.

Actually, I can parse the ies file to get the datas, but I dunno how to make a preview from these datas !

I know iesviewer and iesgen etc. What interest me is the ‘render’ preview from ies viewer, which is very fast. Final goal is t list a directory in 3smax and show previews of ies files (without having to do thumbnails etc).

If anyone have ideas, or is interested in such project, let me know.

Here is what I get :
IESviewer on the left, my python on the right.
I just daw lines on a black background with PIL module.
How to get something nice like iesviewer ? Maybe using some polar gradient ramp ??


Seriously, 412 views no one have idea ?
I guess I would need to ‘render’ each angle on rgba taking light propagation into account, then rotate, place and composite all angles. I guess storing each angle as array of PIL pixels may do it, but I have no idea how to this regarding math. Anyway, challenging, so look at it further…