We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
在基本的 3D 建模包(如 Wings3D)中绘制平面图应该不难,导出到类似于 .obj 的基本格式,可以轻松解析。
如果您需要具有更多选项(用于纹理、烘焙灯等)的 3D 包,请提供 Blender 尝试一下。有很多导出选项,包括 .raw(原始面)
比 .obj 更基本的存储顶点/面的方法。而且写起来也相当容易
使用 Blender 的 Python API 的自定义导出器,它为您提供设置所需的 OpenGL 代码。
It shouldn't be to hard to draw your floor plan in a basic 3D modelling package like Wings3D, export to a basic format like .obj that could be easily parsed.
If you need a 3D package with more options(for texturing,baking lights, etc.) give Blender a try. There are plenty of export options, including .raw (Raw faces) which
an even more basic way to store vertices/faces than .obj. Also it's fairly easy to write
a custom exporter using Blender's Python API which gives you the OpenGL code the way you need it for your setup.