Jump to content

  • Log In with Google      Sign In   
  • Create Account

windows 8 sdk and directx basic setup


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
9 replies to this topic

#1 Nanook   Members   -  Reputation: 505

Like
0Likes
Like

Posted 05 September 2012 - 03:22 PM

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

Sponsor:

#2 Nanook   Members   -  Reputation: 505

Like
0Likes
Like

Posted 05 September 2012 - 04:24 PM

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?

#3 phantom   Moderators   -  Reputation: 7564

Like
1Likes
Like

Posted 05 September 2012 - 05:25 PM

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.

#4 Nanook   Members   -  Reputation: 505

Like
0Likes
Like

Posted 05 September 2012 - 05:43 PM

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

#5 Nanook   Members   -  Reputation: 505

Like
0Likes
Like

Posted 06 September 2012 - 02:58 AM

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

#6 kubera   Members   -  Reputation: 967

Like
0Likes
Like

Posted 08 September 2012 - 10:47 AM

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.

#7 Tispe   Members   -  Reputation: 1046

Like
0Likes
Like

Posted 08 September 2012 - 01:18 PM

Can we still Develop DX9 games for WinXP with this SDK?

#8 Cappah78   Members   -  Reputation: 94

Like
-3Likes
Like

Posted 10 November 2012 - 04:52 AM

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.

#9 Jason Z   Crossbones+   -  Reputation: 5340

Like
0Likes
Like

Posted 10 November 2012 - 01:06 PM

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

#10 CtrlAllDelete   Members   -  Reputation: 103

Like
0Likes
Like

Posted 01 January 2013 - 12:24 PM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS