Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top