16
$\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$
10
  • $\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, 2013 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, 2013 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, 2013 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, 2013 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$ May 23, 2013 at 11:29

1 Answer 1

19
$\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$
2
  • 1
    $\begingroup$ Thanks! I wasn't aware that the default options would break my renderer. $\endgroup$ Dec 14, 2013 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$ Jun 15, 2019 at 13:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .