Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不知道如何使用 Visual C++/Opengl 在我的 3D 对象周围绘制边界框!
我已经计算了我的 obj 的最小值和最大值,但现在我该怎么办!?
更新我上面的帖子:已经弄清楚如何绘制边界框!如何将其与轴对齐?
您必须为边界框生成线网格(或您想要显示的任何内容)。当您已经有了最小值和最大值时,应该很容易找到顶点。