Search code examples
pyopenglblender-2.67

How to export a blender file and open it in PyOpenGL?


I have a 3-D object I created in blender. I would like to export it from blender and be able to import it into OpenGL. Is there a method or specific file extension recommended for this process?


Solution

  • From Here:

    Use obj files. Simple text files that describe a 3d model. Then in opengl load the data into vertex arrays, and display using openGL. There is also window management to take care of.

    Try python SDL and/or pygame to get you started.

    Here is a link to jump start you:

    http://www.pygame.org/wiki/OBJFileLoader