Lab1:CPE 476 的 Lab1

时间:2021-06-13 02:30:59
【文件属性】:
文件名称:Lab1:CPE 476 的 Lab1
文件大小:2.78MB
文件格式:ZIP
更新时间:2021-06-13 02:30:59
C++ 托马斯·斯坦克和乔纳森·佩 CPE 476 - 实验 1 调试! 几何基元 GL Primitive 结构对于调试非常有用,尤其是当您需要可视化边界框、重要对象形状等时。但界面与渲染管道的其余部分完全不同(而且效率低下)。 这是您的关键部分: 设置模型 glMatrixMode(/* GL_PROJECTION, GL_MODELVIEW */); // This sets up either the Projection or ModelView matrix to be edited glPushMatrix(); glPopMatrix(); glLoadIdentity(); // Set the top of the matrix to the equivalent of glm::mat4(1) glLoadMatrixf(float *M); // Load a matri

网友评论