搜索资源列表
3DCube
- 本文绘制了一个3D立方体 实现了纹理映射 光照处理 矩阵变换 以及键盘控制等技术
bike_examplesource
- 一个opengl学习的小车演示程序,使用了矩阵栈,鼠标键控制小车移动。vc+6.0平台-A car learning opengl demo program, the use of the matrix stack, move the mouse keys to control the car. vc+6.0 platform
glutEx5
- 一、实验目的和要求 在模型变换实验的基础上,通过实现下述实验内容,掌握OpenGL中三维观察、透视投影、正交投影的参数设置,并能使用键盘移动观察相机,在透视投影和正交投影间切换,验证课程中三维观察的内容; 进一步加深对OpenGL三维坐标和矩阵变换的理解和应用。 二、实验内容和原理 使用Visual Studio C++编译已有项目工程,并修改代码生成以下图形: “桌子和茶壶的正投影和透视投影” 可以使用键盘改变camera位置与观察方向 (按键为a
OpenGLPick
- OpenGL实现的一个简单的小游戏,通过按下空格发射炮弹。通过这个demo,能够学到如何使用OpenGL的模型视图矩阵来控制模型的变换。-OpenGL implementation of a simple little game, by pressing the space launch shells. With this demo, can learn how to use OpenGL model view matrix to control the transformation mode
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
