- 博客(11)
- 资源 (14)
- 收藏
- 关注
原创 搬家了,呵呵~
<br />http://www.cnblogs.com/Baesky/<br />搬到这里了,主要这里的排版让我震撼了一把。。。
2011-02-02 20:21:00 747
翻译 HLSL高级顶点着色语言基础(2)
<br />着色器输出<br /> 顶点和像素着色器提供的数据供其后的图形管线使用.输出关联用于指定着色器产生的数据如何链接给下一阶段的输入.举例来说,顶点着色器的输出关联将顶点着色程序运算得到的结果链接到像素着色器的输入关联上.<br /> 顶点着色器输出关联用于将着色器连接到像素着色器和光栅阶段.POSITION输出是每个顶点必须输出给光栅器而不暴露给像素着色器的数据,<br />TEXCOORDn和COLORn表示输出用于像素着色器进行插值.<br /> 像素着色器输出关联将其输出颜
2010-08-18 20:01:00 1924
翻译 HLSL高级顶点着色语言基础(1)
语言基础关键字(*号表示大小写敏感)asm* bool compile const decl* do double else extern false float forhalf if in inline inout int matrix* out pass* return sampler pixelshader*shared static string* st
2010-08-18 14:17:00 1539
原创 编译着色器的工具--fxc
<br />这是一个在DirectX9 SDK中提供的工具,他不但可以把你写的着色程序编译成二进制文件,而且还能反编译,这对学习来说最方便不过了.<br /><br />命令行选项描述<br />-T 目标编译目标类型(默认:vs_2_0)<br />-E 名称入口点名称(默认:main)<br />-Od禁用优化<br />-Vd禁用校检<br />-Zi启用调试信息<br />-Zpr按行优先次序包装矩阵<br />-Zpc按列优先次序包装矩阵<br />-Fo 文件名输出目标文件<br />-Fc 文
2010-08-18 11:41:00 1306 1
原创 编译着色器的工具--fxc
<br />这是一个在DirectX9 SDK中提供的工具,他不但可以把你写的着色程序编译成二进制文件,而且还能反编译,这对学习来说最方便不过了.<br /><br />命令行选项描述<br />-T 目标编译目标类型(默认:vs_2_0)<br />-E 名称入口点名称(默认:main)<br />-Od禁用优化<br />-Vd禁用校检<br />-Zi启用调试信息<br />-Zpr按行优先次序包装矩阵<br />-Zpc按列优先次序包装矩阵<br />-Fo 文件名输出目标文件<br />-Fc 文
2010-08-18 11:36:00 1211
原创 位运算与余数
背景:在C风格语言中(比如C,C++,C# (注:排名按出生日期 ^_^)),取余运算符定义为“%”。但在很久很久以前,CPU采用如下方法计算余数(注意,该方法只对2的N次方数系有效):X & (2^N - 1) 看到这个算法,我感到比较好奇,为什么这么做呢? 首先从求余数谈起,我们知道,计算机中存储的方式是0和1序列:1 0001 2^02 0010 2^13 0
2010-02-04 16:05:00 2886
原创 Observer 观察者模式 (HeadFirst设计模式 c#)
Observer.cs using System;using System.Text;using System.Collections.Generic;namespace Observer{ public interface ISubject { void RegisterObserver(IOvserver o); void Rem
2010-01-28 13:05:00 582
原创 Accelerated C++ 第三章 3.4 &&3.5 习题
//以下代码在VS2008下测试可用//3.4#include #include #include #include using namespace std;int main(){ cout<<"please input some charactors: "<<endl; string strTemp, strMTemp; vector ve
2010-01-05 10:01:00 679
原创 Accelerated C++ 第三章 3.3
#include #include #include #include using namespace std;int main(){ vector strChr; vector nCount; string strTemp; cout<<"please input characters :"<<endl; while(cin>>strTem
2010-01-04 09:32:00 759
原创 一场precision引发的血案
Accelerated C++ 中文版中 第三章 3.1那个示例代码 #include #include #include #include using std::cin;using std::cout;using std::endl;using std::precision; int main(){ cout strin
2010-01-02 21:14:00 1056 1
Visual Assist X_10.9.2341.2_Cracked.PiaoYun_P.Y.G.7z
2019-10-02
Color Correction Look Book
2015-06-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人