Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Books that cover directX optimizations?

This topic is 5533 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know of any books that cover DirectX Graphics optimizations? Things like poly batching and such? Thanks!

Share this post

Link to post
Share on other sites
While I don`t know about any such book, have you already maximized your triangle throughput ? If not, go here nVidia Vertex Buffer (VB)Optimizations (Only DOC file works). Read also all relevant papers below on that page.
Especially this Excel Sheet is invaluable as it deals with optimal FVF & VB size - everything benchmarked in the range of 20 vertices to 30.000 vertices in one Vertex Buffer. Really great reading.
This link talks about General DirectX Optimizations too.
If you finally manage to Optimize your DX&VB usage according to these tips, then you don`t need to shell out any money for any book of that kind. Just read all that stuff and implement it.
I think that after that you are only left with Profiling which can really surprise you.

Just a few general questions regarding VBs:

What is your current amount of different FVFs and their size ? Have you sorted your rendering by FVF ?
Aren`t some FVFs using bandwith uselessly (Vertex Colors when you actually have all vertices white - so Material setting is enough since you blend the vertex color with texture)?
Do you use Indexed triangle strips/list ?
Are your VBs static or dynamic ? If they`re dynamic, do they use correct flags when updating ? If they`re static, is the Lock called only once during creation of VB ?
How many different DrawPrimitive calls are you making and what is the amount of tris rendered in every call ?

And that was just from VB`s standpoint, the same might be asked regarding textures, state switching, frustum culling ...

Avenger game

[edited by - VladR on May 28, 2003 3:47:57 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!