OpenGL
寒江孤影江湖故人GP
这个作者很懒,什么都没留下…
展开
-
Nate Robins' OpenGL源码中 fog.c
fog.c/* fog.c Nate Robins, 1997 Tool for teaching about OpenGL fog. */#include <math.h>#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#includ...原创 2019-04-14 14:38:44 · 225 阅读 · 0 评论 -
Nate Robins' OpenGL源码中transformation.c
transformation.c/* transformation.c Nate Robins, 1997 Tool for teaching about OpenGL transformations. */#include <math.h>#include <stdio.h>#include <stdlib.h>#i...原创 2019-04-14 19:27:35 · 187 阅读 · 0 评论 -
Nate Robins' OpenGL源码中texture.c
texture.c/* texture.c Nate Robins, 1997 Tool for teaching about OpenGL texture. */#include <math.h>#include <stdio.h>#include <stdlib.h>#include <stdarg.h...原创 2019-04-14 19:26:14 · 157 阅读 · 0 评论 -
Nate Robins' OpenGL源码中shapes.c
shapes.c/* shapes.c Mason Woo, 1999 with modification of code by Nate Robins, 1997 Tool for teaching about OpenGL primitives. */#include <math.h>#include <stdio.h>...原创 2019-04-14 19:23:33 · 184 阅读 · 0 评论 -
Nate Robins' OpenGL源码中projecyion.c
projection.c/* projection.c Nate Robins, 1997 Tool for teaching about OpenGL projections. */#include <math.h>#include <stdio.h>#include <stdlib.h>#include &l...原创 2019-04-14 17:00:44 · 267 阅读 · 0 评论 -
Nate Robins' OpenGL源码中lightposition.c
lightposition.c/* lightposition.c Nate Robins, 1997 Tool for teaching about OpenGL light positioning. */#include <math.h>#include <stdio.h>#include <stdlib.h>...原创 2019-04-14 16:57:43 · 410 阅读 · 0 评论 -
Nate Robins' OpenGL源码中lightmaterial.c(带注释)
lightmaterial.c/* lightmaterial.c Nate Robins, 1997 Tool for teaching about OpenGL lighting & material properties. */#include <math.h>#include <stdio.h>#include...原创 2019-04-14 16:56:09 · 425 阅读 · 0 评论 -
Nate Robins' OpenGL源码中 glm.c
glm.c/* glm.c Nate Robins, 1997, 2000 nate@pobox.com, http://www.pobox.com/~nate Wavefront OBJ model file format reader/writer/manipulator. Includes routines for ...原创 2019-04-14 16:54:13 · 362 阅读 · 0 评论 -
OpenGL随笔
1.glClearColor ( )设置颜色缓存的清除值,及背景颜色。2.glClear ( ) 是用来清除屏幕颜色,即将屏幕的所有像素点都还原为 “底色 ”。3.glColor ( ) 是用来设置画笔的颜色,即绘图颜色。属于RGBA模式。4.glShadeModel ( ) 函数用于控制 opengl 中绘制指定两点间其他点颜色的过渡模式。...原创 2019-04-23 17:00:04 · 167 阅读 · 0 评论