资源简介
OpenGL红宝书(OpenGL编程指南第七版)带目录完整版PDF+源码
代码片段和文件信息
/*
* Copyright (c) 1993-2003 Silicon Graphics Inc.
* All Rights Reserved
*
* Permission to use copy modify and distribute this software for any
* purpose and without fee is hereby granted provided that the above
* copyright notice appear in all copies and that both the copyright
* notice and this permission notice appear in supporting documentation
* and that the name of Silicon Graphics Inc. not be used in
* advertising or publicity pertaining to distribution of the software
* without specific written prior permission.
*
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU “AS-IS“ AND
* WITHOUT WARRANTY OF ANY KIND EXPRESS IMPLIED OR OTHERWISE
* INCLUDING WITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
* GRAPHICS INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT
* SPECIAL INCIDENTAL INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND
* OR ANY DAMAGES WHATSOEVER INCLUDING WITHOUT LIMITATION LOSS OF
* PROFIT LOSS OF USE SAVINGS OR REVENUE OR THE CLAIMS OF THIRD
* PARTIES WHETHER OR NOT SILICON GRAPHICS INC. HAS BEEN ADVISED OF
* THE POSSIBILITY OF SUCH LOSS HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY ARISING OUT OF OR IN CONNECTION WITH THE POSSESSION USE
* OR PERFORMANCE OF THIS SOFTWARE.
*
* US Government Users Restricted Rights
* Use duplication or disclosure by the Government is subject to
* restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
* (c)(1)(ii) of the Rights in Technical Data and Computer Software
* clause at DFARS 252.227-7013 and/or in similar or successor clauses
* in the FAR or the DOD or NASA FAR Supplement. Unpublished - rights
* reserved under the copyright laws of the United States.
*
* Contractor/manufacturer is:
* Silicon Graphics Inc.
* 1500 Crittenden Lane
* Mountain View CA 94043
* United State of America
*
* OpenGL(R) is a registered trademark of Silicon Graphics Inc.
*/
/*
* aaindex.c
* This program draws shows how to draw anti-aliased lines in color
* index mode. It draws two diagonal lines to form an X; when ‘r‘
* is typed in the window the lines are rotated in opposite
* directions.
*/
#include
#include
#define RAMPSIZE 16
#define RAMP1START 32
#define RAMP2START 48
static float rotAngle = 0.;
/* Initialize antialiasing for color index mode
* including loading a green color ramp starting
* at RAMP1START and a blue color ramp starting
* at RAMP2START. The ramps must be a multiple of 16.
*/
void init(void)
{
int i;
for (i = 0; i < RAMPSIZE; i++) {
GLfloat shade;
shade = (GLfloat) i/(GLfloat) RAMPSIZE;
glutSetColor(RAMP1START+(GLint)i 0. shade 0.);
glutSetColor(RAMP2START+(GLint)i 0. 0. shade);
}
glEnable (GL_LINE_SMOOTH);
glHint (GL_LINE_SMOOTH_HINT GL_DONT_CARE);
glLineWidth (1.5)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 736100 2013-01-05 11:28 OpenGL编程指南(原书第7版)完整带目录pdf+源码\3dsBopengl.zip
文件 600812 2013-01-04 18:05 OpenGL编程指南(原书第7版)完整带目录pdf+源码\glew-1.5.1-win32.zip
文件 149072 2013-01-04 17:59 OpenGL编程指南(原书第7版)完整带目录pdf+源码\glutdlls37beta.zip
文件 729278 2013-01-05 12:24 OpenGL编程指南(原书第7版)完整带目录pdf+源码\OpenGL.rar
文件 24788315 2013-10-23 13:35 OpenGL编程指南(原书第7版)完整带目录pdf+源码\OpenGL编程指南第七版完整带目录版.pdf
文件 4805 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\aaindex.c
文件 4803 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\aargb.c
文件 5818 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\accanti.c
文件 7875 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\accpersp.c
文件 4389 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\alpha.c
文件 5615 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\alpha3D.c
文件 3865 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\bezcurve.c
文件 4711 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\bezmesh.c
文件 4345 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\bezsurf.c
文件 5019 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\blendeqn.c
文件 5408 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\checker.c
文件 3577 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\clip.c
文件 5112 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\colormat.c
文件 3769 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\colormatrix.c
文件 3858 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\colortable.c
文件 13420 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\combiner.c
文件 4536 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\convolution.c
文件 3446 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\cube.c
文件 7202 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\cubemap.c
文件 720605 2003-12-03 11:24 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\Data\leeds.bin
文件 9025 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\dof.c
文件 3886 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\double.c
文件 3612 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\drawf.c
文件 5425 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\feedback.c
文件 5702 2003-12-03 11:25 OpenGL编程指南(原书第7版)完整带目录pdf+源码\opengl编程指南第七版源码\fog.c
............此处省略60个文件信息
相关资源
- opengl自定义函数实现平移旋转缩放
- OpenGL 3D场景绘制 SiriusPrx 荒岛古堡.r
- OpenGL一个室内三维渲染OBJ文件导入和
- NeHe OpenGL Qt4教学代码
- Opengl 蘑菇、萤火虫、地形三维建模
- OPENGL纹理贴图正方体
- OpenGL编程精粹源代码
- NeHe_OpenGL_VC版本1-48课全部教程以及源
- 计算机图形学实验OpenGL
- opengl 视频纹理处理
- OpenGL物理碰撞效果
- OpenGL小游戏
- OpenGL超级宝典第五版pdf及其随书源码
- OpenGL读取bunny文件+斯坦福兔子
- OpenGL开发的教室场景可以漫游
- OpenGL高级编程与可视化系统开发-系统
- opengl读取.obj三维模型,arcball实现鼠标
- OpenGL超级宝典 第5版 中文版 完整书签
- Computer Graphics with OpenGL 4th edition 高清
- OpenGL 4.0 Shading Language Cookbook及完整源
- 3GPP长期演进LTE技术原理与系统设计(
- Computer_Graphics_with_OpenGL_4th_ed.pdf
- opengl读入obj文件并实现平移旋转贴图
- OGL模型加载
- OPENGL 经典案例 整套
- opengl包含16个鼠标控制点的Bezier曲面
- qt下opengl的三维视角转换算法
- OpenGL鱼眼镜头特效的视频播放器 基于
- opengl实现bezier曲面的纹理贴图、鼠标
- assimp.dll
评论
共有 条评论