搜索资源列表
CSharp_OpenGL_Color_Material.rar
- 使材质颜色追踪当前颜色 的OPENGL事例-color material to make tracking the current color OpenGL examples
Clesson31
- 如何在vc的开发环境下,利用opengl函数库来编写一个光照,材质的例子。-how vc development environment, using opengl library to prepare a light, material examples.
Clesson35
- 这是一个利用vc与opengl开发的旋转,爆炸,材质的程序。-use vc with opengl development of the rotation, explosion, materials procedures.
二维图像三维显示
- 本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量
vee
- 本人在VC集成开发环境下学习Opengl时编写的一些程序,其中包括绘制齿轮,立体字,机器人,各种材质的球体等函数。本压缩包含有完整的VC工程文件及源程序,对学习Opengl具有很大的帮助。- Some procedures when the VC integrated development environment which myself study Opengl compiles, including draws up the gear, 绔嬩綋瀛? robot, each kind o
materialuse
- OpenGL中关于材质的使用例子,比较基础,浅显易懂。-OpenGL material on the usage example, a comparable basis, simple words.
MainOpenGL
- 本程序中加入了几乎所有的OPENGl中的常用技巧及方法,具体有光照,材质,旋转,平移,纹理,球的实现方法-the process of accession to the OPENGl almost all of the commonly used techniques and methods specific light, material, rotation, translation, texture, the method ball
cube_example
- 用OpenGL制作的带材质的盒子,是一个快速入门的好例子。-with OpenGL produced with material from the box, a Quick Start is a good example.
gl2Rotatef
- 用OPENGL编写的如何使一个正方形旋转,并还有光照和材质的选择。-prepared using the OpenGL how a square rotation, and there are light and material choice.
opengl-box
- 一个用键盘控制的正方体,屏幕背景为黑色,正方体为白色,无材质。-A control the cube with the keyboard, the screen background is black, cube is white, non-material.
opengl-qiu
- Opengl 中球的源代码,背景为黑色,球体为白色,无材质。-Opengl source code of the ball, the background is black, the sphere is white, non-material.
openglcup
- openGL茶杯茶叶操作指导4------玻璃杯里的绿茶 一. 如操作指导(1)建立框架.见welcome2 二. 添加变量与函数并初始化 在VIEW类中加入公共变量 float tbh[6][5] //6片茶叶的角度、位置、大小 BOOL keyn //定义动画开关 在VIEW类中加入公共函数 void mytea(float x,int y) //定义绘制茶杯的函数 void tea3() //茶叶的函数 void lm() //光照和材质的函数
OPENGL--GLLIGHT
- (1)使用多个光源 (2)场景中要求有点光源、无穷远光源以及方向光源 (3)设置光源位置、属性 (4)设置物体材质属性,包括:环境光、漫反射以及镜面反射系数 (5)尽可能在场景中能够观察出各个不同类型光源的存在 -(1) the use of multiple light sources (2) scene requires a bit light source, light source position the infinity light source as well
OpenGL-Light
- 2. 在代码中添加光照函数,要求如下: (1)使用光源1 (2)设置光源的环境光、漫反射光以及镜面反射光颜色 (3)设置光源位置 (4)设置物体材质属性,包括:环境光、漫反射以及镜面反射系数(两个三维对象材质属性不能相同);对其中一个三维对象设置其表面发射项 -Light function, add code requirements are as follows: (1) the use of the light source 1 (2) Set the light sou
OPENGL-read-MS3D
- 用OPENGL读取MS3D文件和JPEG材质-Using OPENGL read MS3D files and JPEG Material
material
- opengl材质的小程序,可以应用于大的opengl程序中-opengl material applets, can be applied to a large opengl program
OPENGL-Mytea
- 用OPENGL绘制茶杯。1、界面要求:提供全屏和窗口两种显示模式,仅显示图形,界面简单。 2、功能要求:提供基本的旋转操作,便于观察。 3、性能要求:显示平滑,操作响应及时。 4、异常处理要求:提供基本的出错信息。 5、将来可能提出的要求:建模,照明,材质的提高,提供缩放等功能 -Interface requirements: to provide full screen and window of two display mode, only display graphic
OpenGL-sunaearth
- 以太阳、地球作为例子,把太阳作为光源,模拟地球围绕太阳转动时光照的变化。于是,需要设置一个光源——太阳,设置两种材质——太阳的材质和地球的材质。 把太阳光线设置为白色,位置在画面正中。把太阳的材质设置为微微散发出红色的光芒,把地球的材质设置为微微散发出暗淡的蓝色光芒,并且反射蓝色的光芒,镜面指数设置成一个比较小的值。简单起见,不再考虑太阳和地球的大小关系,用同样大小的球体来代替之。 -In the sun, the Earth as an example, the sun as a li
Boxman
- 基于OpenGL的推箱子游戏,简单的Obj模型导入,基本材质纹理显示,场景漫游,碰撞检测,光照模型,基本体素,基本几何变换...(Based on the OpenGL box game, simple Obj model import, the basic material texture display, scene roaming, collision detection, illumination model, basic voxel, the basic geometry transf
一个旋转立方体
- 一个旋转的带有苹果图案的立方体,OpenGL材质的应用(A rotated cube with an apple pattern, the application of OpenGL material)