13
$\begingroup$

I use Blender to create my 3D models for my Android app that uses OpenGL ES. The default output format for a Wavefront file (.obj) is not compatible with my Wavefront file parser. How do I get Blender to output a Wavefront file that has the following elements:

  • All Verticies and Faces (faces as triangles, not quads)
  • Texture coordinates (UV Mapped)
  • Preprocessed Normals
$\endgroup$
  • $\begingroup$ UVs are included in OBJ export, theres an option to triangulate and include normals in the export options. Did you try these options? This seems more like a bug report then a question since you are asking about existing features that apparently don't work in some situation. $\endgroup$ – ideasman42 May 23 '13 at 7:43
  • 1
    $\begingroup$ @ideasman42 For someone who was trying to use Blender to make models for use in OpenGl or other platforms, the Wavefront file needs to have those exact properties otherwise it won't get parsed correctly. This question was intended to help people find those exact options in the export menu. $\endgroup$ – John May 23 '13 at 7:48
  • 2
    $\begingroup$ The problem is you are not actually trying to solve anything here (an imagined problem or a real one). The options are clearly listed in the export menu - so any user who spends a few seconds to check will see what to do, I dont think this makes for quality Q&A. (However Im glad you want blender.stackexchange.com to do well and are want to help out!) $\endgroup$ – ideasman42 May 23 '13 at 8:08
  • 2
    $\begingroup$ @ideasman42 When I first used Blender to export to .obj it took me a long time to find that there is the tiny menu in the bottom left hand corner that you have to look at to change the output settings. I think that this question would be very helpful to someone who is a novice at using Blender. $\endgroup$ – John May 23 '13 at 8:10
  • 1
    $\begingroup$ @John It is acceptable to answer your own question; I see you've created several that you seem to know the answer to and are just posting to serve as a reference to others. Go ahead and answer them yourself, if you know the answer. $\endgroup$ – MidnightLightning May 23 '13 at 11:29
17
$\begingroup$

If you wanted to export a simple model such as:

enter image description here

as a .obj file that is compatible with OpenGL or another 3D graphics platform then all you do is go to export:

enter image description here

Look for the export options in the toolbar in the bottom left corner. This will allow you to choose the specifications for the output file:

enter image description here

The options I am using above are compatible with OpenGL ES, you may have to adjust your properties accordingly. This type of export will produce a .obj file (geometry file) and a .mtl file (materials and textures file).

$\endgroup$
  • 1
    $\begingroup$ Thanks! I wasn't aware that the default options would break my renderer. $\endgroup$ – Thane Brimhall Dec 14 '13 at 17:41
  • $\begingroup$ Sorry, "bottom left" didn't help me. This is what I'm looking at RN. Where do i find the "export obj" settings ? i.imgur.com/xd3mgdI.png $\endgroup$ – Tobias Kolb Jun 15 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.