计算机图形学课程实验。 是一个mfc单文档程序,绘制三个立方体加他们的坐标轴,使他们可以分别绕三个坐标轴旋转,刚编译运行后的界面有些奇怪。选择编辑->rotate about x或者其他选项使它开始转起来之后看起来就正常了
2023-04-19 10:58:56 146KB mfc opengl 三个立方体旋转
1
vue.js立方体旋转播放特效是一款立方体旋转播放音乐相册展示特效。
2023-01-08 12:44:30 2.6MB vue.js 立方体
1
这是基于VS2010,C#编写的一个3D立方体旋转的演示程序模块,实现了绕X、Y、Z轴旋转,鼠标“抓转”、面的选择性纯色填充,有相配套的文档说明,此部分为源码部分,配套文档可另在本人的共享资源中一起下载。
2022-11-01 13:56:12 76KB 三维 3D立方体旋转 计算机图形学
1
网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖音资料)网页动画素材 3D图片立方体旋转特效(抖
2022-07-12 09:10:53 103KB 网页动画素材3D图片立方体旋转
用OpenGL和C语言编写一个带纹理和材质的一个立方体的交互式程序。 1)要求生成一个在立方体,并在立方体的六个面上并分别实现不同的纹理映射和材质。 2)可以利用鼠标进行交互,实现该立方体的拖动旋转和点击自由旋转。
2022-04-07 11:18:32 6.19MB 计算机图形学 C++ 立方体 交互
1
用opengl 在qt 上绘制多个立方体。并不断旋转。
2022-01-17 17:33:38 6.11MB opengl window glsl
1
VC实现的线性立方体旋转特效,一个可控的透视型立方体盒子旋转模型,鼠标拖动右侧滑块,可改变立方体的三维角度,上边的滑块改变旋转角度,下边的滑块主要是让立方体在Y轴上移动。
2021-12-29 20:12:50 15KB VC 源码-图形处理
1
用鼠标来控制一个立方体的旋转速度和方向。
2021-12-14 18:59:54 3KB 鼠标控制 立方体旋转 速度与方向
1
立方体旋转程序 /* Rotating cube with color interpolation */ /* Demonstration of use of homogeneous coordinate transformations and simple data structure for representing cube from Chapter 4 */ /* Colors are assigned to the vertices */ /* cube is centered at orign*/ #include #include GLfloat vertices[][3] = {{-1.0,-1.0,-1.0},{1.0,-1.0,-1.0}, {1.0,1.0,-1.0}, {-1.0,1.0,-1.0}, {-1.0,-1.0,1.0}, {1.0,-1.0,1.0}, {1.0,1.0,1.0}, {-1.0,1.0,1.0}}; GLfloat colors[][3] = {{0.0,0.0,0.0},{1.0,0.0,0.0}, {1.0,1.0,0.0}, {0.0,1.0,0.0}, {0.0,0.0,1.0}, {1.0,0.0,1.0}, {1.0,1.0,1.0}, {0.0,1.0,1.0}}; void polygon(int a, int b, int c, int d) { /* draw a polygon via list of vertices */ glBegin(GL_POLYGON); glColor3fv(colors[a]); glVertex3fv(vertices[a]); glColor3fv(colors[b]); glVertex3fv(vertices[b]); glColor3fv(colors[c]); glVertex3fv(vertices[c]); glColor3fv(colors[d]); glVertex3fv(vertices[d]); glEnd(); } void colorcube(void) { /* map vertices to faces */ polygon(0,3,2,1); polygon(2,3,7,6); polygon(0,4,7,3); polygon(1,2,6,5); polygon(4,5,6,7); polygon(0,1,5,4); } static GLfloat theta[] = {0.0,0.0,0.0}; static GLint axis = 2; void display(void) { /* display callback, clear frame buffer and z buffer, rotate cube and draw, swap buffers */ glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); glRotatef(theta[0], 1.0, 0.0, 0.0); glRotatef(theta[1], 0.0, 1.0, 0.0); glRotatef(theta[2], 0.0, 0.0, 1.0); colorcube(); glFlush(); glutSwapBuffers(); } void spinCube() { /* Idle callback, spin cube 2 degrees about selected axis */ theta[axis] += 2.0; if( theta[axis] > 360.0 ) theta[axis] -= 360.0; /* display(); */ glutPostRedisplay(); } void mouse(int btn, int state, int x, int y) { /* mouse callback, selects an axis about which to rotate */ if(btn==GLUT_LEFT_BUTTON && state == GLUT_DOWN) axis = 0; if(btn==GLUT_MIDDLE_BUTTON && state == GLUT_DOWN) axis = 1; if(btn==GLUT_RIGHT_BUTTON && state == GLUT
2021-11-23 08:16:14 5KB 图形学
1
计算机图形学——立方体旋转 VC MFC
2021-11-21 14:27:57 77KB 立方体旋转 VC MFC
1