How to successfully export model AND material/colors from blender into obj?

Discussion started by theinfamouskyle

TL;DR: Obj file imports textureless mesh into lightwave with functioning surface groups, but no imported data for those groups. HEEEELLLLP

I've been looking around the web for answers, but what surprisingly little I've found on the topic hasn't helped me at all. Figured I'd ask here

I'm most familiar with Blender to work with, but I've never actually finalized any of my projects; i.e. I've never exported them to any other file type. When I was fooling around with exporting a couple days ago, I saved the model I was working on as an obj. I opened it up in Lightwave, in both Layout and Modeler, to see if it saved my materials, and it had. I even messed around with some of the color settings to make sure things were working right. Since then, however, any time I've exported anything as an obj, Lightwave doesn't seem to recognize the mtl file to put things where they need to go anymore. The only thing that sounded like it would help (a plugin to import mtl files to models which was mentioned in a help forum from 2006, aggravatingly enough) only ramps up the luminosity to color groups without colors. It just makes grey a lighter grey. Supposedly newer versions of Lightwave were planned to support mtl files so that wouldn't be necessary, and, based on the first experiment with exporting, it does. But not anymore for me.

I get rather discouraged when things stop working after the first time I try them (especially when I'm planning on making a career in 3D), so I'm hoping someone here could tell me what the hell I changed to screw everything up on myself

For those who will ask


  • Blender version is 2.79

  • Using Cycles Node Editor for object colors/materials (within blender)

  • Lightwave version is 2015.3

  • No updated made to either program within the 4-5 days in between export attempts

  • Windows has also not updated within that time

Thank you guys in advance for any help you're able to give.

Answers

Posted over 5 years ago
1

Exporting from Blender to OBJ is quite straightforward and easy actually(because its not complicated format). Leave settings as they are because they are set for common situation. You need to know how OBJ handles shading(materials). OBJ file format contains mesh data that is assigned to material name. Besides OBJ file theres MTL file with more information about those material names. Each material can have values for Diffuse color, Specular color or texture map reference. So as you can see there is not much variations that obj material can have. OBJ is quite old and nobody even thought about using nodes to create complex materials like we have now in Cycles. If you want to export to OBj from Blender best work flow is to use Blender Internal and create material that way using only diffuse, specular and reflection. If you have Cycles material and that exported then bake that material to texture and again export with Blender Internal material which has that texture assigned as diffuse.

Your answer

In order to post an answer, you need to sign in.

Help
Chat