搜索资源列表
3DLensFlareWithOcclusionTesting
- 3D Lens Flare With Occlusion Testing Learn how to do lens flares by extending a glCamera class. If you look at a lens flare you will notice that they all share one thing in common. They all seem to move through the center of the screen. With this
Teapot
- 功程序中已预设了多种颜色,通过单击键盘C键可以不断地改变茶壶的颜色;通过键盘的方向键可以调整光源的位置,左移光源,右移光源,上移光源,下移光源,从而改变茶壶的光影显示效果;单击键盘R键可使茶壶自动旋转,再次单击则停止旋转;在茶壶旋转过程中,可通 过X键,Y键,Z键来改变茶壶的旋转轴;按着鼠标左键不放,移动鼠标可以像Google Earth似的手动的地旋转茶壶;按着鼠标右键不放,向上移动鼠标可以使茶壶缩小,向下可以是茶壶变大;但茶壶不会变得过大或过小。-Power program has been
MaterialSpheres
- Initialize z-buffer, projection matrix, light source,and lighting model.
DrawGL02
- 如何在Matlab中通过混合编程的方式使用OpenGL。希望能抛砖引玉,大家共同讨论。 该程序基于Matlab6.5和VC6平台编译,运行后会显示一个彩色的三维坐标轴以及一个棋盘平面。使用方向键和9/0平移, x/y/z旋转。 程序的源文件为DrawGL02.cpp,在Matlab中通过mbuild -setup设置好VC编译器后,运行mex -O -v DrawGL02.cpp即可生成dll文件。然后再Matlab中运行DrawGL02即可。-How in the Matl
20102209
- 1、绘制茶壶(模型绘制) 2、通过三基色原理设定不同光源,并从不同方向照射茶壶。实现全局光源照射。(颜色指定、光照应用) 3、通过变量产生几种不同的条格式纹理,并映射到茶壶。(纹理映射) 4、茶壶中心绕原点分别绕X、Y、Z轴转动。(位图和图像处理) 5、听过时间等函数实现茶壶的倒水功能。(实时动画) 6、通过键盘控制以上。(人机交互) -1, draw a teapot (model drawn) 2, through the the trichromatic princ
xuanzhuan
- 用opengl编写的立方体绕x,y,z轴分别旋转的程序,键盘上下左右控制。源码清晰易阅读,适合初学者学习。-Cubes using opengl prepared around x, y, z axes of rotation program, up and down the keyboard control. Clear and easy to read source code, suitable for beginners to learn.
