摘要:
在 VC中遇到“error C2630: initialization of 'k' is skipped by 'case' label”的编译错误。MSDN说明如下:compiler error c2360 : initialization of identifier is skipped by... 阅读全文
摘要:
"GLUT"[I] 全称为 OpenGL Utility Toolkit.[/I] Mark J. Kilgard 创作的 GLUT 库, 是我们创建完全独立于窗口系统的 OpenGL 程序成为可能. 感谢 GLUT, 我们能够在不了解 X Windows 或者 Microsoft Windows 窗口系统本身的情况下编写3D应用程序. Kilgard 编写了GLUT的 X Windows 版本, 后来, Nate Robins 又将之移植到 Microsoft Windows 系统之上. 谢谢你们二位, 你们完成了一项伟大的工作. 在这份教程里, 我将向你介绍一些关于编写 阅读全文
摘要:
1 /* OpenSceneGraph example, osgpick.*/ 2 3 /* osgpick sample 4 * demonstrate use of osgUtil/PickVisitor for picking in a HUD or 5 * in a 3d scene, 6 */ 7 8 #include <osgUtil/Optimizer> 9 #include <osgDB/ReadFile> 10 #include <osgViewer/Viewer> 11 #include <osgViewer/CompositeVi 阅读全文