• Advertisement
Sign in to follow this  

windows 8 sdk and directx basic setup

This topic is 1844 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'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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
It is a[quote name='Nanook' timestamp='1346921912' post='4977122']
The example uses ComPtr's is that something we should follow in all dx code?
[/quote]

That is a smart pointer, a tool.
I would release your components instead of an explicit code.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
[quote name='Cappah78' timestamp='1352544727' post='4999611']
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.
[/quote]
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 :)

Share this post


Link to post
Share on other sites

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).

Share this post


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

  • Advertisement