09 2009 档案

摘要:Soft-Edged Shadows by Anirudh.S Shastry Introduction Originally, dynamic shadowing techniques were possible only in a limited way. But with the advent of powerful programmable graphics hardware, dynam... 阅读全文
posted @ 2009-09-29 11:34 ttthinks 阅读(463) 评论(0) 推荐(0)
摘要:今天上午打算完成的,没想到出了个问题,搞了一天没有搞定,到现在才发现这个错误,直接晕倒。概念就不介绍了,直接先上数学。重心坐标:设三角形所在平面一点P的重心坐标为(a,b,c)则 a+b+c = 1;(三角形所在平面的所有点都可以用重心坐标表示,如果在三角形外面,则:a,b,c三个数当中必有一个为负数!!!!)这一点P的3D坐标为(Px, Py, Pz);三角形的三个点为(顺时针)v0, v1, ... 阅读全文
posted @ 2009-09-25 22:58 ttthinks 阅读(1565) 评论(0) 推荐(0)
摘要:[代码] 阅读全文
posted @ 2009-09-23 22:19 ttthinks 阅读(777) 评论(0) 推荐(0)
摘要:D3DPRESENT_PARAMETERS 参数说明 struct D3DPRESENT_PARAMETERS{ UINT BackBufferWidth; UINT BackBufferHeight; D3DFORMAT BackBufferFormat; UINT BackBufferCount; D3DMULTISAMPLE_TYPE MultiSampleType; DWORD Mult... 阅读全文
posted @ 2009-09-22 15:15 ttthinks 阅读(503) 评论(0) 推荐(0)
摘要:Windows Symbol Files 1.什么是Symbol File? Symbol files hold a variety of data which are not actually needed when running the binaries(Dll,EXE...), but which could be very useful in the debugging process(... 阅读全文
posted @ 2009-09-22 12:39 ttthinks 阅读(1530) 评论(0) 推荐(1)
摘要:以前一直都是用rendermonkey写shader,今天用了一下API,才发现问题一堆一堆的,看来自己基础还是没有打牢,典型的“没学会爬就在学飞了”,遇到的问题大多是疏忽的问题,绝不是逻辑上的问题。  在用RenderMonkey 写 HDR的时候遇到问题了,做的star effect老是不对,看起来没有模糊感,它的例子居然连一个Tex2D(sampler, texCoo... 阅读全文
posted @ 2009-09-21 22:48 ttthinks 阅读(383) 评论(0) 推荐(0)