Ridley5 opened this issue on Jul 26, 2010 · 1724 posts
bagginsbill posted Mon, 09 August 2010 at 10:11 PM
I really should not have worked on this today, but I know you guys want a material exporter.
https://sites.google.com/site/bagginsbill/free-stuff/luxrender-exporter
In that page you'll find BBLuxExporter002.zip.
It is my complete exporter, using the WIP geometry exporter posted by odf and the earlier master script posted by adp, with some mods by me to get it to work.
It contains yaml source as well.
The big pile of new stuff is in the luxmatic subfolder. But nobody has to read that unless they are curious.
it supports:
Color maps
Bump maps
Transparency maps
Specular Maps
Clouds node (but not a good match)
AmbientOcclusion (yields 1, i.e. it is ignored)
Blender node
EdgeBlend node (but just uses the Inner_Color - EdgeBlend cannot be done in Lux yet)
Add node
Sub node
Mul node
Blinn node
PoserSurface built-in Diffuse node and Specular node
It will apply anti-GC to color maps, and I hope does not do that with any of the other maps.
When connecting things to anything but diffuse color, make sure it is black and white.
If you're using a Blinn node, anything the Blinn is connected to is ignored - i.e. I treat the node as the definitive and complete specification of the specular you want. Stuff can be plugged into the Blinn node, but results may be unpredictable at this point. A simple Blinn connected to Alternate_Specular works fine.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)