搜索资源列表
ShowBall
- 这个程序是用OpenGL和glaux在Visual Studio .Net的开发环境中创建的. 该程序包含的功能有: 1. 对键盘的输入作出响应 2. 3D物体的旋转动画 3. 创建窗口显示 4. 创建全屏显示 5. 3维贴图 该程序适用于初学OpenGL, 尤其是初学glaux的程序员. 读码愉快!-this procedure is OpenGL and glaux in Visual Studio. Net development environment cr
Play3D010-Binary
- Play3D is a program to play 3D video files using full-screen quad-buffer OpenGL stereo, or red/blue glasses (anaglyph mode). It should play any format that is supported through DirectShow with an appropriate codec. This includes AVI as well as
vsgs_fireworks
- This sample illustrates how to generate and modify vrGeometry objects on the fly. In the sample the new geometry is used to render a custom particle system modeled after a fireworks display. Note that the particle positions and sizes are updated ever
MouseAndLight
- 此程序绘制了带6个纹理的立方体,明实现了键盘和鼠标控制,其中键盘控制如下: L :控制光照光照 ←:向左旋转速度增加 →:向右旋转速度增加 ↑:向上旋转速度增加 ↓:向下旋转速度增加 PgUp:立方体向屏幕里移动(离观察者越来越远) PgUp: 立方体向屏幕外移动(离观察者越来越近) 鼠标控制如下: 右键:控制光照 左键:按下左键时可以进行立方体的拖拽使之旋转 -This program drew a cube with 6 textures, cle
molecular
- 用WinAPI方式,使用OpenGL,在屏幕上显示了一个分子的空间结构,可以任意角度的旋转-Display a molecula on the screen with OpenGL,and you can rotate it with the keyboard
OpenGL-model-rendering
- OpenGL真实感模型绘制与应用 实现功能: *利用交互式方法,操纵浏览模型细节,能方便观察模型。 *能够用不同的方式(如上截图)渲染模型,增加光照控制、坐标系的显示等等。 *利用luweiqi模型,设计了一个简单的真实感三维动画。 动画介绍: 打开程序运行后,luweiqi 出现在屏幕中,并且自动播放背景音乐《天下无双》 按数字‘7’键开始播放动画,模型向后渐行渐远,然后开始旋转,不久变成画线模式, 隐没于黑暗中后变成点模
ColorGrid1
- 全屏显示图形,将屏幕网格化,通过操作键盘对程序进行操作。有五种不同的颜色,两种不同的网格。-Full-screen graphics。make the screen into grid.Operate the application by the keyboard.There are five colors and two types of grid
opengl-box
- 一个用键盘控制的正方体,屏幕背景为黑色,正方体为白色,无材质。-A control the cube with the keyboard, the screen background is black, cube is white, non-material.
opengl_qt_linghting_blending
- 本次实验主要是学习下opengl中光照的使用方法,opengl中的光照分为环境光,漫射光,镜面光,反射光4种,这里主要是学习环境光和漫射光的设置,同时对比下opengl中支持的几种纹理滤波方式的效果,另外也可以加入色彩融合效果。这次实验是将一个木箱纹理贴到一个立方体上,然后我们在空间屏幕正外方设置了一个光源,可以用键盘的L键来控制该光源的开启和关闭;用F键来旋转程序中用到的3种滤波方式,按下F键后,依次切换该3种方式;用PageUp键来使物体离观察者越来越远,相反,用PageDown来使物体离我
Rotating-cube-textures
- 可以旋转的立方体图形,给六面体和背景加上不同的纹理映射。 1.交互设置(键盘和鼠标设置) 1)方向键:上下左右自由移动 2) w或W键:显示正方体框架/填充图 3)空格键 : 停止转动 再次按下继续转动 4)小键盘 + :正方体转动加速 小键盘 - :正方体转动减速 5)鼠标左键: 自由转动正方体或旋转正方体 6)鼠标右键: 拉近或拉远视距 7)F1键: 切换窗口模式/全屏模式 -You can rotate the cube graphics, and
code
- 1、利用OpenGL函数画一个三维物体; 2、利用鼠标或键盘控制三维物体在屏幕上移动、旋转和放缩 (1)移动:不能直接调用OpenGL几何变换函数,运用齐次坐标,采用矩阵相乘的方式自己编程实现; (2)旋转、放缩可以调用OpenGL函数(1. Draw a three-dimensional object by using the OpenGL function; 2. Use the mouse or keyboard to control the movement, rotation
code2
- 1、用鼠标拖动画直线,线段终点始终跟随鼠标移动; 2、使用菜单界面修改直线的颜色; 3、利用键盘控制直线在屏幕上移动;(1, using the mouse to drag the straight line, the end of the line is always followed by the mouse movement; 2, use the menu interface to modify the color of the straight line. 3, use th
