![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DirectX
蓝色歌谣
这个作者很懒,什么都没留下…
展开
-
三维空间中的向量
三维空间中的向量(Vectors in 3-Space)向量的表示we represent a vector as a directed line segment向量的两个属性The two properties of vectors: length, magnitude用向量来表示粒子的速度和加速度We use vectors to model the velocity and acceleration of our particles. Other times in 3D computer graphi原创 2010-08-20 16:41:00 · 706 阅读 · 0 评论 -
Matrices 矩阵
<br /><br /><br /><br /><br />Matrices 矩阵<br />m * n 意思是m 行 n 列矩阵<br />An m * n matrix is a rectangular array of numbers with m rows and n columns.<br /> <br />行向量和列向量(单行/单列矩阵)<br /> <br />Sometimes a matrix will contain a single row or column. We give the原创 2010-08-20 18:35:00 · 383 阅读 · 0 评论 -
平面
<br />平面<br /> <br />《3D游戏编程大师技巧》<br /> <br />所有平面都将整个空间分成两个半空间。<br /> <br />正半空间是法线指向的空间,而负半空间是另一半空间。<br /> <br />平面用垂直于平面的法向量(normal vector) n和平面中的一点p0 描述。<br /> <br />所有满足等式n * ( p - p0 ) = 0 的点p 构成一个平面。(两向量相乘等于0,则它们互相垂直)(向量p-p0 的方向是从p0 指向p)<br /> <br /原创 2010-08-21 13:52:00 · 238 阅读 · 0 评论 -
D3D 初始化
<br /><br />#include <d3dx9.h><br />#include <string><br />#pragma comment(lib,"d3d9.lib")<br />#pragma comment(lib,"d3dx9.lib")<br />#pragma comment(lib,"winmm.lib")<br /><br />#define ASSERT(value) if (!(value)) { /<br /> _asm{int 3};}<br /><br />IDirect原创 2010-08-25 00:46:00 · 281 阅读 · 0 评论 -
安装DirectX 9.0 开发环境
<br /> <br /> <br />一、安装DirectX 9.0 runtime<br />http://download.microsoft.com/download/3/C/4/3C46A69A-CB0F-4CCA-B1E8-248D43270D5F/directx_mar2009_redist.exe<br /> <br />二、安装DirectX 9.0 SDK<br />http://download.microsoft.com/download/3/A/5/3A53CE87-F5C9-4C原创 2010-08-25 00:44:00 · 381 阅读 · 0 评论 -
Real-Time Rendering 3rd.Chapter 1 - Chapter 2
Chapter 1 Introduction1.2 Notation and Definitions 符号和定义logn 始终表示自然对数logen,而不是log10n我们使用右手坐标系,因为这是3D 计算机图形学的标准系统。We use a right-hand coordinate system (see Appendix A.2) since this is the standard system for three-dimensional geometry in the field of compu原创 2010-08-28 11:12:00 · 470 阅读 · 0 评论 -
运行ShaderX3 的代码
<br /> <br />下载《ShaderX3 Advanced Rendering with DirectX and OpenGL》 源代码:<br /><br />http://download.csdn.net/source/2680322<br /><br />一、安装 Visual Studio 2003<br /><br />二、安装 The DirectX 9 summer update 2004 SDK<br /><br />http://www.microsoft.com/downlo原创 2010-09-09 01:03:00 · 553 阅读 · 1 评论