windows 8 sdk and directx basic setup

Started by
8 comments, last by CtrlAllDelete 11 years, 3 months ago
I've been looking for a windows 8 directx c++ tutorial on basic setup, but cant find any.. I've just moved my project to visual studio 2012 using the windows 8 sdk and I'm not sure how I should create the d3d device and swapchain..

Anyone know of a good tutorial/example site
Advertisement
I found some samples here:

http://code.msdn.microsoft.com/Direct3D-Tutorial-Sample-08667fb0#content

But when I try to open them in visual studio 2012 it says the projects in the solution are incompatible with my visual studio version? I'm still using windows 7, but with the windows 8 sdk.. do I need to use windows 8?
A quick look at the code on the site seems to indicate it a WinRT app and not a Win32 app; to make/compile them you must be running VS2012 in Windows 8.
Ah right.. havent heard about that before.. If found a walkthrough of the samples so I guess I should be able to get things working..

http://msdn.microsoft.com/en-us/library/windows/apps/jj552952.aspx
The example uses ComPtr's is that something we should follow in all dx code?
It is a

The example uses ComPtr's is that something we should follow in all dx code?


That is a smart pointer, a tool.
I would release your components instead of an explicit code.
Can we still Develop DX9 games for WinXP with this SDK?
Microsoft is falling out of grace consumer-wise and developer-wise. All they do is pump out a bunch of sample projects and expect people that want to learn how to do whatever in the first place to figure it out from there. Thats like a giving a pilot who only flew bi-planes a space shuttle and expecting him to figure out how to fly it. Some real tutorials would be nice. Not vague descriptions and samples.

Microsoft is falling out of grace consumer-wise and developer-wise. All they do is pump out a bunch of sample projects and expect people that want to learn how to do whatever in the first place to figure it out from there. Thats like a giving a pilot who only flew bi-planes a space shuttle and expecting him to figure out how to fly it. Some real tutorials would be nice. Not vague descriptions and samples.

I disagree with this comment - on the contrary, I think Microsoft has done quite a bit of outreach and provided lots of samples, tutorial content, and video introductions via the BUILD talks. If you take a short look around the MSDN site, there is lots and lots of sample code to get you started. Once your feet are wet, then you can follow up with the video talks and get more in depth knowledge about what is going on...

More tutorials will follow for sure, but as has always been the case, the community typically provides them instead of Microsoft. So get to work, and make a tutorial :)

Some please make a tutorial. I am also looking for one. Although, everything is same upto initializing D3D, devices, swapchain, target,etc; existing tutorials cannot be used starting from lesson on how to draw a triangle. I find MSDN tutorials difficult to grasp (I am a newbie to DX).

This topic is closed to new replies.

Advertisement