DX Optimization | Advice

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
GueZt_Coders
Posts: 44
Joined: Tue Jan 17, 2006 4:04 am

DX Optimization | Advice

Post by GueZt_Coders »

Hi guys,

1.) Is it possible or any idea converting all meshes type to ID3DXMesh
cause i want to take the advantage of DirectX rendering optimization
techniques & features to make things rock. such as:

OPTIMIZATION:

Vertexbuffer,
IndexBuffer,
SetStreamSource,
VCache Optimized

ENCHANCED MESH :

CloneMeshFVF,
D3DXTessellateNPatches,
CompiledFx,
Shader Instancing


2. Some tip on how to convert the IndexDataFormat to 32bit
I tried to replace D3DFMT_INDEX16 with D3DFMT_INDEX32 , unfortunately it crash, lol. :)

Any advice will help. tnx.
Just part of irrlicht related project| CLEAR CODE NOTATIONS IS LARGELY SELF CODUMENTING!
Post Reply