12 2006 档案

c语言调试技巧
摘要:一般使用#if 0都是临时性调试代码:#if 0 release code#elsedebug code#endif调试好后就#if 1,不大可能一次改动很多个#if 0 如果你肯定会有很多地方要一次都启用或禁用,在最开始代码:#define DEBUG然后在需要的地方 代码:#ifdef DEBUG #endif 阅读全文

posted @ 2006-12-31 16:08 cloudseawang 阅读(847) 评论(0) 推荐(0)

常用gl头文件
摘要:Gl.rar常用的文件 glext.h wglext.h glATI.h/Files/cloudseawang/GL.rar等 阅读全文

posted @ 2006-12-29 08:49 cloudseawang 阅读(511) 评论(0) 推荐(0)

typedef struct
摘要:tyepdef stuct 阅读全文

posted @ 2006-12-22 20:50 cloudseawang 阅读(592) 评论(0) 推荐(0)

interpolation
摘要:在图形学中,进行纹理操作时,经常要用到interpolation,最简单的是linear interpolation,然后Bilinear Interpolation,再trilinear interpolation,复杂的是cubic ,hermite。在linear bilinear trilinear三种插值中,其实trilinear已经包含了前两者具体可见http://local.wasp... 阅读全文

posted @ 2006-12-21 09:54 cloudseawang 阅读(303) 评论(0) 推荐(0)

感悟
摘要:从一网友的blog里看到的:做人比做事更重要,倾听比倾诉更重要,付出比索取更有效,淡定比着急更有效。觉的很有道理 阅读全文

posted @ 2006-12-18 10:16 cloudseawang 阅读(222) 评论(1) 推荐(0)

on-the-fly and pre-computed?
摘要:on the fly :程序执行过程中每个顶点的计算,到下个顶点时重新计算pre-computed:程序执行开始时将所有顶点的计算已经存下来,执行只需取已计算好的结果 阅读全文

posted @ 2006-12-13 16:49 cloudseawang 阅读(299) 评论(0) 推荐(0)

局部光照与全局光照的区别
摘要:光照的模式 阅读全文

posted @ 2006-12-13 11:09 cloudseawang 阅读(8989) 评论(0) 推荐(1)

帧缓存介绍
摘要:在opengl里经常看到帧缓存这个名词,可以是opengl的核心的吧。平时写程序由于只与它的子集颜色缓存,深度缓存,模板缓存,累积缓存打交道,很少想它们的父类的帧缓存的定义。今天在看gpu的流水线时,讲到片元的各种操作,突然想到自己对这个一直不是特别明白。在渲染过程中,图形加速器一般都有一个预先分配好的内存区域来维护显示列表内容(译者:注意,不一定是主内存)。它由显示内存和脱屏内存组成。随着Ope... 阅读全文

posted @ 2006-12-12 09:57 cloudseawang 阅读(6118) 评论(0) 推荐(1)

如何计算体数据的轮廓树contour tree
摘要:toplogy基本名词 阅读全文

posted @ 2006-12-11 21:32 cloudseawang 阅读(1012) 评论(2) 推荐(0)

导航