资源简介
这是《Introduction to 3D Game Programming with DirectX 11》完整源码Part1
。
代码片段和文件信息
/*
#include // for FLOAT definition
#include
#include
using namespace std;
// Overload the “<<“ operators so that we can use cout to
// output XMVECTOR objects.
ostream& operator<<(ostream& os FXMVECTOR v)
{
XMFLOAT3 dest;
XMStoreFloat3(&dest v);
os << “(“ << dest.x << “ “ << dest.y << “ “ << dest.z << “)“;
return os;
}
int main()
{
cout.setf(ios_base::boolalpha);
// Check support for SSE2 (Pentium4 AMD K8 and above).
if( !XMVerifyCPUSupport() )
{
cout << “xna math not supported“ << endl;
return 0;
}
XMVECTOR p = XMVectorZero();
XMVECTOR q = XMVectorSplatOne();
XMVECTOR u = XMVectorSet(1.0f 2.0f 3.0f 0.0f);
XMVECTOR v = XMVectorReplicate(-2.0f);
XMVECTOR w = XMVectorSplatZ(u);
cout << “p = “ << p << endl;
cout << “q = “ << q << endl;
cout << “u = “ << u << endl;
cout << “v = “ << v << endl;
cout << “w = “ << w << endl;
return 0;
}
*/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-11-05 21:49 Common\
文件 5308 2011-07-10 08:22 Common\Camera.cpp
文件 2523 2011-07-10 08:22 Common\Camera.h
文件 13488 2011-04-25 09:16 Common\d3dApp.cpp
文件 2218 2011-02-28 19:03 Common\d3dApp.h
文件 6482 2011-09-05 13:07 Common\d3dUtil.cpp
文件 5094 2011-09-05 12:54 Common\d3dUtil.h
文件 82808 2010-05-13 17:48 Common\d3dx11effect.h
文件 15087954 2011-04-10 16:08 Common\Effects11.lib
文件 5695930 2011-04-10 16:08 Common\Effects11d.lib
文件 3384 2011-05-09 19:06 Common\GameTimer.cpp
文件 790 2010-09-11 19:09 Common\GameTimer.h
文件 18715 2011-07-05 20:09 Common\GeometryGenerator.cpp
文件 3326 2011-08-07 16:36 Common\GeometryGenerator.h
文件 278 2011-04-22 10:28 Common\LightHelper.cpp
文件 1860 2011-04-23 12:40 Common\LightHelper.h
文件 2379 2011-07-22 12:53 Common\MathHelper.cpp
文件 1792 2011-07-23 10:10 Common\MathHelper.h
文件 728 2011-08-07 12:54 Common\TextureMgr.cpp
文件 682 2011-08-07 10:45 Common\TextureMgr.h
文件 4901 2011-05-28 11:31 Common\Waves.cpp
文件 1668 2011-05-28 11:31 Common\Waves.h
文件 148647 2011-07-19 20:24 Common\xnacollision.cpp
文件 9295 2010-05-13 17:48 Common\xnacollision.h
文件 1212 2011-12-23 11:27 Notes.txt
目录 0 2015-11-05 21:49 Chapter 1 Vector Algebra\
目录 0 2012-01-29 15:41 Chapter 1 Vector Algebra\XMVECTOR\
文件 966 2010-06-18 17:49 Chapter 1 Vector Algebra\XMVECTOR\InitFunctions.cpp
文件 773 2010-06-18 19:57 Chapter 1 Vector Algebra\XMVECTOR\tol.cpp
文件 1854 2011-11-30 18:42 Chapter 1 Vector Algebra\XMVECTOR\VectorOps.cpp
文件 2576 2010-06-18 17:59 Chapter 1 Vector Algebra\XMVECTOR\xmvec3.cpp
............此处省略656个文件信息
相关资源
- d3d11游戏编程入门(美)Allen+Wendy中英
- Introduction to 3D Game Programming with Direc
- 基于DirectX的简单GUI界面制作
- DirectX 自制游戏引擎
- Introduction to 3D Game Programming with Direc
- DirectX 高级动画制作书中源代码
- Real-Time -3D-Rendering-with-DirectX-and-HLSL
- DirectX11游戏编程入门(word+pdf)
- DirectX 11高级图形开发技术实战 免分
- Introduction to 3D Game Programming with Direc
- DX12龙书 Introduction to 3D Game Programming
- DirectX版俄罗斯方块(vs2010代码.
- DWGdirectX4.0
- directx_API
- DirectX 11 Low Poly Shader - DX11低多边形着
- DirectXDemo合集
- DirectX游戏开发之3D角色动起来
- XAudio2 by 冷崖
- 源代码
- DirectX实时渲染技术详解第二部分含源
- 红龙书最新版3d游戏开发基础DirectX1
- Introduction to 3D Game Programming with Dir
- 3d_game_programming_with_DirectX11.rar
- Real-Time_3D_Rendering_with_DirectX_and_HLSL
- Introduction to 3D Game Programming with Direc
- DirectX9.0win10安装版
- DirectX 3D HLSL精讲-随书光盘
- DirectX游戏开发终极指南pdf版+源码
- 导出DirectX .x模型插件for3DMAX2015201620
- Microsoft.DirectX.dll和Microsoft.DirectX.Dire
评论
共有 条评论