Original Post
🔒 Locked
Direct3D Tutorials?
Advertisement
I recommend Evil Steve's tutorials. I learned a lot from them.
http://www.directxtutorial.com/
It depends on which version of Direct3D you're going to use.
Here are some tutorials on Direct3D 9:
http://www.two-kings.de/
http://www.codesampler.com/
As for Direct3D 10, I can't recall any good tutorials on it other than the documentation and the Frank D. Luna's book "Introduction to 3D Game Programming with DirectX 10".
Here are some tutorials on Direct3D 9:
http://www.two-kings.de/
http://www.codesampler.com/
As for Direct3D 10, I can't recall any good tutorials on it other than the documentation and the Frank D. Luna's book "Introduction to 3D Game Programming with DirectX 10".
Quote:
Original post by burt13(you won't find better code than MS code...)
Quite the opposite actually, I couldn't recommend anybody to learn DirectX from the tutorials and samples from the DirectX SDK. Over 3000 lines long cpp files that is more C then C++ (not very object orientated, using pointers almost everywhere even when references are more safe and clean), filled with global variables and the code isn't documented very well (meaning of function parameters not explained).
Also, the following code (from the DirectX SDK sample code) can be confusing for new programmers:
float fDeviation, FLOAT fMultiplier=1.0fTwo datatypes with the same name but 1 lowercase and other uppercase. If you are rather new to programming and come across code like this, it can be confusing: are you dealing with 2 different datatypes here, or is C++ not case sensitive at all, or something else.
Following a decent and well written tutorial will be much more helpful. After all coding is not just about getting it working, you will need to understand why it works as well. Well written code that is clean to read will keep you more motivated as well rather as you don't have to puzzle what each variable does when you later want to extend the code.
Quote:
Quite the opposite actually, I couldn't recommend anybody to learn DirectX from the tutorials and samples from the DirectX SDK.
I completely agree on that, I also first learned OpenGL then DirectX, these are other nice tutorials I used when I learned DirectX
The Ultimate DirectX tutorial
Also, understanding the basic of matrix operations is very useful as well.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement