Integrating DirectX Shaders in 3ds Max A Developer's ... - Visionday
Integrating DirectX Shaders in 3ds Max A Developer's ... - Visionday Integrating DirectX Shaders in 3ds Max A Developer's ... - Visionday
Tips and TricksUse IDirect3DStateBlock9 cautiously Max can ask an object to be drawn various times, and this canbe a resource hog.Do the actual drawing in the IDX9VerterShader::Initialize()methods Simplifies the multi material supportKeep DrawMeshStrips simple – just return True/FalseOnly support Mesh objects – keeps code simple. Use MNMesh::OutToTri()Use GetCOREInterface()->GetTime(), not TimeValue t = 0 Prevents unwanted evaluations of the modifier stackManage your resources, and RenderStates !! 3ds max is easy to upset – typically you loose the viewportnames or transparency settings. Typically DESTBLEND and SRCBLENDIntegrating DirectX Shaders in 3ds MaxA Developer's Perspective 20© 2005 Autodesk
3ds max resourcesSparks Support Program http://sparks.discreet.com Debug builds of max Advanced beta exposure Knowledge baseMe!! neil.hazzard@autodesk.comIntegrating DirectX Shaders in 3ds MaxA Developer's Perspective 21© 2005 Autodesk
- Page 1 and 2: Integrating DirectXShaders in 3ds M
- Page 3 and 4: Real time Shaders in 3ds max3ds max
- Page 5: Real time Shaders in 3ds max3ds max
- Page 9 and 10: DirectX Standard Material - Details
- Page 11 and 12: Extending the DirectX StandardMater
- Page 13 and 14: Extending the DirectX StandardMater
- Page 15 and 16: Extending the DirectX Effect Suppor
- Page 17 and 18: Writing your own DirectX shadersWhe
- Page 19: Writing a DirectX Hardware Material
<strong>3ds</strong> max resourcesSparks Support Program http://sparks.discreet.com Debug builds of max Advanced beta exposure Knowledge baseMe!! neil.hazzard@autodesk.com<strong>Integrat<strong>in</strong>g</strong> <strong>DirectX</strong> <strong>Shaders</strong> <strong>in</strong> <strong>3ds</strong> <strong>Max</strong>A <strong>Developer's</strong> Perspective 21© 2005 Autodesk