[英]Make a model in Blender and load in opengl
我想在Blender中制作3D模型並將其加載到OpenGL中。 有人可以提供有關此操作的逐步方法。 我試圖用谷歌搜索,但沒有得到任何適當的結果。
程式語言:C ++,
工具:GLFW + GLAD + GLM
使用外部庫,此過程分為3個步驟。
參考
https://blender.stackexchange.com/questions/121/how-do-i-export-a-model-to-obj-format
使用類似Assimp的庫來生成頂點和屬性。
使用OpenGL應用程序中的頂點和屬性,方法如下所述,
https://nickthecoder.wordpress.com/2013/01/20/mesh-loading-with-assimp/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.