Jump to content
  • Advertisement

Archived

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

Sir_Spritely

Vertex Shaders and Shader programming

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

I am attempting to learn vertex shader programming and I''m having problems. I have a book which whilst excellant, is in DX8.1 and I cannot find any resources with tutorials (simple) anywhere. I''m having problems converting the code from DX8.1 to DX9 whilst learning the actual vertex shader programming. It would be ten times easier if the stuff I was learning from was in DX9 to begin with, if you catch my drift. Wondering how everyone else manages as there are very few DX9 tutorials about. Do you just convert the DX8.1 code or what, how can I go about this? Any help, pointer''s, hint''s, tips''s really appreciated. Thanks, Pk

Share this post


Link to post
Share on other sites
Advertisement
It''d also be 10 times easier if you just used DX8.1 interfaces with the DX9 runtime!

Remember, you can still use DX8.1 D3D interfaces under DX9 without needing to *any* "conversion", each new DX version is fully backwards compatible, you could even use DX3 D3D interfaces if you wanted to.

View learning shaders with your 8.1 centric book and learning DX9 as separate tasks.

http://msdn.microsoft.com/directx is the place to go for the latest official tutorials.

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
Basically, I used the Real-Timer Rendering in Direct3D book by Kelly Dempski. I took the code and converted it to DX9. By using the DirectX SDK docs and sample programs I was able to work through it and figure it out for myself. If this is the book you are using, let me know and I can send you the base code converted to DX9.

-dizzy

Share this post


Link to post
Share on other sites
Hey,

Thanks for the tips people. By the way Dizzy, it is the book I am using as well. I would appreciate it if you could send me the updated code, thanks.

Pk

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!