搜索资源列表
在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
stencil
- in this program you can learn how to use the accumulation buffer in OpenGL.
simple_draw_buffers
- 本代码演示opengl高级渲染技术中的多个缓存的绘制技术。使用了opengl的扩展ATI_draw_buffers,分别绘制了四个不同的茶壶,每个buffer可以按要求最终显示到屏幕的不同位置。-High opengl rendering technology in various cache mapping technology. The use of the expansion ATI_draw_buffers opengl, each of the four different mappi
OpenGL_A6
- A very basic program demonstrating the use ofthe selectnio buffer in OpenGL. By clicking on the rotating spheres you can make them disappear. The reset button will return everything back to the default setup.-A very basic program demonstrating the us
read_CT_using_Opengl
- 充分利用OPENGL的双缓冲技术,实现图片的无闪动的灰度调整-take full advantage of the double buffer OpenGL technology, without flashing pictures of the gray adjustment
BeginningOpenGLgameprogramming
- 英文原名:Beginning OpenGL game programming 中文:OpenGL游戏编程 本书分为两部分,首先是OpenGL的基础知识,内容包括OpenGL库函数、WGL简介、图元处理、变换和矩阵、颜色和灯光的渲染以及纹理映射 第二部分内容包括一些OpenGL的高级功能特性,内容涉及OpenGL的功能扩展、高级纹理映射,如何提高性能以及OpenG缓冲区的知识。-English version : Beginning OpenGL game programming Chi
OpenGL新功能--顶点缓冲区
- OpenGL新功能--顶点缓冲区-OpenGL new features -- Vertex Buffer
OpenGL导入3ds模型的问题
- OpenGL导入3ds模型的问题。本人用lib3ds导入模型后 采用最原始的画三角形的方法遍历模型中所有的点,画出模型 但在光照的时候出现模型表面有很多杂斑(enable了深度缓存)请问 如何去除杂斑?而且如果在场景中添加一个地板 地板会覆盖部分模型(奇怪的是我激活了depth buffer)-3ds and opengl
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
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扩展和跨平台技
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)