随笔分类 - opengl
摘要:下载freeglut http://freeglut.sourceforge.net/ 1> 已启动生成: 项目: CallbackMaker, 配置: Debug x64 2> 已启动生成: 项目: CallbackMaker_static, 配置: Debug x64 3> 已启动生成: 项目:
阅读全文
摘要:OpenGL vendor string: IntelOpenGL renderer string: Intel(R) HD Graphics 630OpenGL version string: 4.4.0 - Build 21.20.16.4664OpenGL extensions (GL_):
阅读全文
摘要:1> 已启动生成: 项目: OSG_3_1_osgViewer应用基础, 配置: Debug x64 1>cl : 命令行 warning D9002: 忽略未知选项“/SAFESEH:NO”1> osgViewer应用基础1.cpp1>e:\opensourcegraph\openscenegra
阅读全文
摘要:光源绕一个物体旋转,按下鼠标左键时,光源位置旋转。 #include <GL/glut.h> static int spin = 0;static GLdouble x_1 = 0.0;static GLdouble y_1 = 0.0;static GLdouble z_1 = 0.0;void
阅读全文
摘要:/*******************************************************robot.cpp*基于opengl的机械手臂示例代码*s:机械臂逆时针旋转*S:机械臂顺时针旋转*e:腕部逆时针旋转*E:腕部顺时针旋转*************************
阅读全文
摘要:链接:https://pan.baidu.com/s/1dGQkk4T 密码:wu44 Visual Studio 2017配置OpenGL https://blog.csdn.net/qiangbizhi3622/article/details/79467994 https://www.cnblo
阅读全文
摘要:#include <GL\glut.h> float fEarth = 2.0f;//地球绕太阳的旋转角度float fMoon = 24.0f;//月球绕地球的旋转角度 void Init(){ glEnable(GL_DEPTH_TEST);//启用深度测试 glClearColor(0.0f,
阅读全文
摘要://#include <gl\glut.h>#include <GL\glut.h>#include <iostream> using namespace std; float rtri;float rquad; GLfloat points0[5][3] = { {0,1,0},{-1,-1,1}
阅读全文
摘要:1、下载OpenNi https://structure.io/openni 解压,点击运行 选择安装目录,默认即可 安装过程中有弹框,选择 安装 点击 完成 在相应的安装目录下即可找到
阅读全文