Jump to content
  • Advertisement
Sign in to follow this  
Arseperin

Vertex Processing

This topic is 5070 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

Hi, I was just reading this book called programmings rpgs with directx, 2nd edition. The author used software vertex processing in one of the parameters to create a device. But i checked out the sdk documentation and found out that hardware vertex processing is also a valid parameter. So, I was wondering which one is better to use and what's the difference between them?

Share this post


Link to post
Share on other sites
Advertisement
Hardware processing is definetly better to use. When software vertex procesing is specified, all the lighting calculations, and transformations (T&L: transform and lighting) are done on the CPU. This is a waste when you have graphics cards that can do this for you and leave the CPU free to do other things.

You can check the D3DCAPS9 structure (see the IDirect3D9::GetDeviceCaps() function in the sdk docs) to see if the card you have supports hardware T&L.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!