samedi 19 avril 2014

C++ quelle version de directx ? -Débordement de pile



Possible Duplicate:
DirectX 9 or DirectX 10 for starters ??



I'm started to get into a little game programming and I have some learning materials for C++/Directx 9 and 10, and im wondering which I should learn first/use. I read somewhere windows XP doesn't have directx 10, so if i wanted to support XP, id have to use 9? Or is it backwards compatible?




DirectX 10 is not supported on Windows XP so in order to run on such systems a DirectX 9 or earlier engine is required. However unless you are developing on a Windows XP system you should not worry about this and use the easier version.


IMO DirectX 10 is the better platform to work with, so you should use that to learn for now.


In either case I would recommend skipping the low level programming portion and using an environment such as XNA or Unity if you are interested in 3D development. Another option would be Silverlight to be able to host it online (Flash also but that isn't free). There are also a myriad of paid and free many game development platforms available online.


I thought I was different and could manage an engine with my first game, half a decade and well over a thousand hours later, and I never even managed to get anything that could be remotely defined as a game. (Although in my defense I spent a lot of time on random tasks such as extensible engine design (3 or 4 different ones) and procedural rendering on the GPU)




Possible Duplicate:
DirectX 9 or DirectX 10 for starters ??



I'm started to get into a little game programming and I have some learning materials for C++/Directx 9 and 10, and im wondering which I should learn first/use. I read somewhere windows XP doesn't have directx 10, so if i wanted to support XP, id have to use 9? Or is it backwards compatible?



DirectX 10 is not supported on Windows XP so in order to run on such systems a DirectX 9 or earlier engine is required. However unless you are developing on a Windows XP system you should not worry about this and use the easier version.


IMO DirectX 10 is the better platform to work with, so you should use that to learn for now.


In either case I would recommend skipping the low level programming portion and using an environment such as XNA or Unity if you are interested in 3D development. Another option would be Silverlight to be able to host it online (Flash also but that isn't free). There are also a myriad of paid and free many game development platforms available online.


I thought I was different and could manage an engine with my first game, half a decade and well over a thousand hours later, and I never even managed to get anything that could be remotely defined as a game. (Although in my defense I spent a lot of time on random tasks such as extensible engine design (3 or 4 different ones) and procedural rendering on the GPU)


0 commentaires:

Enregistrer un commentaire