Tutorial 6:Meshes
- 加载Mesh
- D3DXLoadMeshFromX
PIX Game Debugging Sample
- 使用PIX for windows来查看逐帧缓存、单步渲染等。
Basic HLSL
- 计算BoundingSphere
- LockVertexBuffer
- D3DXComputeBoundingSphere
- UnlockVertexBuffer
- Effect
- 加载:D3DXCreateEffectFromFile
- 设置属性:
- SetValue/SetTexture
- CloneMeshFVF
- D3DXComputeNormals
- 渲染:
- SetTechnique
- Begin
- BeginPass
- DrawSubset
- EndPass
- End
- 加载Texture
- D3DXCreateTextureFromFileEx
- 优化Mesh
- GenerateAdjacency
- OptimizeInplace
DXUT中的计算鼠标拖动模型旋转的方法
- 使用旋转四元数来记录摄像机朝向,在使用时转换为矩阵
- 将2D鼠标位移向