Importing Models Into A OpenGL Project

后端 未结 4 885
别那么骄傲
别那么骄傲 2021-02-04 08:41

I am taking an OpenGL course and we have the option to create models to use in our assignments with a 3D modeling application, like Maya or Blender.

I am not

4条回答
  •  没有蜡笔的小新
    2021-02-04 09:09

    I'd say that the Obj format is a good balance for readability and functionality if you want to parse it yourself.

    http://en.wikipedia.org/wiki/Obj

    The easiest way would to be to find a library to do it for you but the possibilities would be limited to your chosen language.

    You shouldn't be worrying about scale. OpenGL's matrices can easily rescale vertices.

提交回复
热议问题