[Addon/Plugin] LuxRender Material Converter

Started back with 3D modeling again. Prompted by LuxRender 1.6 update and Blender 2.78. I still run tests with my Converter with OBJ scenes imported into Blender. I don’t know if it is code in LuxRender Lux Core, or the Blender 3.X Python, but some conversions failed in some materials where I was sure they worked before. Went over code and made a few changes here and there. Seems to handle all scenes I throw at it without any hiccups.


That scene is an undoctored convert from a scene I either purchased or got free from DAZ3D recently.

I also noticed something else…All OBJ scenes or objects with materials using images that had spaces in the path were not loaded. I think this may have happened starting in Blender 2.77, as I didn’t notice previously. I tweaked the Blender OBJ importer, so that it works with pathnames that have spaces. Whether it had it previously or not, I have it importing with spaces in pathnames now. I did not search to see if this was solved by someone else already, but needed to get it to work so I could continue testing my Converter. Just replace the existing one in your addons folder (io_scene_obj).

Both files can be found here: MarsThunder/blender-python/src