搜索资源列表
在OpenGL视图中绘制动画
- 利用mfc设定计时器和帧缓存技术,可以制作出流畅的动画。一般用opengl向正方体表面添加各种颜色,以达到双缓存动画的实现。-use mfc set the timer and frame buffer technology, can produce smooth animation. General use opengl cube surface to add color to achieve double-buffering to achieve animation.
Outline_Mode_src
- The author recently had to write some code to outline 3D objects using OpenGL. The author hunted around the Internet for methods to do this, and eventually came across two main techniques. The first involves the use of Polygon Offsets, and the second
OpenGL新功能--顶点缓冲区
- OpenGL新功能--顶点缓冲区-OpenGL new features -- Vertex Buffer
OpenGL导入3ds模型的问题
- OpenGL导入3ds模型的问题。本人用lib3ds导入模型后 采用最原始的画三角形的方法遍历模型中所有的点,画出模型 但在光照的时候出现模型表面有很多杂斑(enable了深度缓存)请问 如何去除杂斑?而且如果在场景中添加一个地板 地板会覆盖部分模型(奇怪的是我激活了depth buffer)-3ds and opengl
MyWater.基于vc++使用opengl开发的3D水纹波浪
- 基于vc++使用opengl开发的3D水纹波浪, 场景绘制与渲染 BOOL CMyWaterView::RenderScene() { glClear(GL_COLOR_BUFFER_BIT) glPushMatrix() glScalef(10,1,10) if (!rgb) glColor3f(.31, .41, .97) else glColor3f(1.f,1.f,1.f) glTranslat
opengl中使用模板缓存来实现物体影子的源代码
- opengl中使用模板缓存来实现物体影子的源代码。,opengl use stencil buffer to achieve the objects of the source code of the shadow.
CG_OpenGL_example(full).rar
- 基于openGL的CG运行示例代码,很全很好的代码例子,可配合《CG教程-可编程实时图形权威指南》学习,The example of GPU program produced in CG+openGL, this code is very well and can be learned with the material"CG Tutorial-The Definitive Guide to Programmable Real-Time Graphics"
OpenGLClipCap
- OpenGL为裁减面加盖 使用stencil buffer对模型进行加盖 对裁减面进行加盖的功能,网上例子不多,本例代码简单,很容易明白原理 使用glut,把相h, lib, dll都放到文件夹内,vs2003直接编译通过 操作方法: 鼠标左键旋转模型 鼠标右键移动平面 o键切换模型 s键可以把stencil buffer中内容存成bmp,有助于理解-opengl clip capping, use stencil buffer to add a cap f
ShadowMap
- Opengl超级宝典阴影贴图的例子,例子利用深度缓冲区实现阴影贴图。-Opengl Super Bible examples of shadow maps, examples of using the depth buffer to achieve a shadow map.
natesh
- An example of dissolving using stencil buffer
BUFFER
- OPENGL结合VC++6.0,简单程序例程。适合初学者。-OPENGL combination of VC++6.0, a simple routine procedure. Suitable for beginners.
OpenGLprogrammingGuideSixthVersion
- 本书以清晰的语言、丰富的实例以及翔实的内容描述了OpenGL的功能以及许多计算机图形技巧。全书共15章,包括OpengGL简介、状态管理和绘制几何物体、视图、颜色、光照、混合、抗锯齿、雾、多边形偏移、显示列表、绘制像素、位图、字体、图像、纹理贴图、帧缓冲区、分格化和二次方程表面、求值器和 NURBS、选择和反馈、OpenGL高级技巧以及OpenGL着色语言等内容。本书对OpenGL以及OpenGL实用函数库提供了全面而又权威的介绍,素有“OpenGL红宝书”之美誉。第6版在第5版的基础上进行了全
opengl_redbook_code
- 这是opengl编程指南的全部源代码,即学习opengl最具权威的红皮书,内容有反走样,绘制位图图像,帧缓存,纹理映射等技术。欢迎opengl,和图形爱好者使用-Opengl programming guide is all the source code, that is the most authoritative study of the opengl red book, which contained anti-aliasing, draw the bitmap image, frame
1
- SDL(Simple DirectMedia Layer)是什么呢?根据他的表面意思,翻译过来就是简单的指导媒体层SDL是一个跨平台的多媒体函数库,被用来设计成在低层访问音频,键盘,鼠标,游戏杆,基于OPENGL(一个3D图象开发函数库)的3D 硬件,和2D图象帧缓冲区。它被广泛的用于基于MPEG的媒体播放软件,模拟器,和许多著名的游戏。最著名的游戏是赢得LIUNX组游戏开发大奖的 文明:权利的召唤(Civilization: Call To Power)。-SDL (Simple Direc
SDL-Introduction
- Simple DirectMedia Layer, 简称SDL,是一个自由的跨平台的多媒体开发包,主要通过OpenGL和2D视频帧缓冲(framebuffer)提供对音频、键盘、鼠标、游戏操纵杆 (joystick)和3D硬件的底层访问。它被广泛的应用于MPEG回放软件、模拟器和多个著名游戏中,如获得大奖的《文明:权倾天下》-Simple DirectMedia Layer, abbreviated SDL, is a free cross-platform multimedia develop
OpenGL
- OpenGL图形系统是一个软件接口,让程序员能够创建交互式程序,使用计算机图形学技术生成具有真实感的图像。本书是OpenGL ARB推荐的OpenGL 1.4版学习指南。 本书首先阐述OpenGL的功能和计算机图形学基本知识,包括状态管理和几何体的绘制、模型变换、视点变换和投影变换、颜色和光照;然后深入探讨一些高级技术,包括反走样、混合、雾效、显示列表、图像处理、纹理映射、帧缓存、网格化、NURBS、选择和反馈等;同时讨论其他一些重要主题,像如何提高程序的性能、OpenGL扩展和跨平台技
Z-Buffer Render
- 一个简单的基于Z—Buffer渲染的测试用例, 对于初学者可以很好的理解Z-Buffer渲染。(There is a very simple but useful model about Z-Buffer rendering, which is very hopeful for beginner to understand the effect of Z-buffer rendering in OpenGL.)
OpenGL001
- 这段代码解释了什么是混合.就是将前景色与背景色结合得到新颜色的过程 背景色:又叫目标颜色,是已经进入颜色缓冲区的颜色. 前景色:当前渲染命令的颜色,作为结果进入缓冲区,又叫源颜色. 混合有混合方程式,混合方程式有两个混合因子来计算最终的混合颜色. 打开命令:glEnable(GL_BELNDING);//blend:混合 混合因子的设置需要函数glBlendFunc();来实现,他有两个参数,分别是源混合因子和目标混合因子的值 而这两个混合因子有15个预定义的值.(This code
vaovbo渲染三角形
- 在windows平台上使用opengl进行绘图,使用vbo将顶点缓冲至gpu,再进行绘制(Drawing on the windows platform using OpenGL, using VBO to buffer the vertices to GPU, and then draw)
SceneDemo
- 基于现代OpenGL的火焰粒子系统的模拟,采用双缓冲思想,将粒子的计算搬运到了GPU上进行并行计算,加快粒子系统的模拟速度。(Based on the modern OpenGL simulation of the flame particle system, the double buffer idea is adopted to transfer the computation of particles to GPU for parallel computation, which accel