5 Replies - 457 Views - Last Post: 03 July 2012 - 03:19 PM Rate Topic: -----

#1 dartoscoder  Icon User is offline

  • D.I.C Regular

Reputation: 0
  • View blog
  • Posts: 313
  • Joined: 15-May 09

Using DirectX with something like SFML

Posted 30 June 2012 - 07:28 PM

I am trying to learn both OpenGL and DirectX for a comparison on my blog here.

I personally hate windows programming so to shield myself from that I use SFML to set up my windows for OpenGL.

I wanted to know if there was anything like that that I could use for DirectX.

thanks,
Dartos
Is This A Good Question/Topic? 0
  • +

Replies To: Using DirectX with something like SFML

#2 ButchDean  Icon User is online

  • Ex-Pro Games Programmer
  • member icon


Reputation: 876
  • View blog
  • Posts: 3,342
  • Joined: 26-November 10

Re: Using DirectX with something like SFML

Posted 30 June 2012 - 09:53 PM

Why not just live with Windows programming? I don't see the point in learning a variety of APIs that all implement the same functionality.
Was This Post Helpful? 0
  • +
  • -

#3 dartoscoder  Icon User is offline

  • D.I.C Regular

Reputation: 0
  • View blog
  • Posts: 313
  • Joined: 15-May 09

Re: Using DirectX with something like SFML

Posted 02 July 2012 - 06:59 PM

I really don't like windows programming and want to avoid it as much as I can. I know its not the best thing to do but this is just so I can learn DirectX in a comfortable way. Windows Programming is really tedious.
Was This Post Helpful? 0
  • +
  • -

#4 ButchDean  Icon User is online

  • Ex-Pro Games Programmer
  • member icon


Reputation: 876
  • View blog
  • Posts: 3,342
  • Joined: 26-November 10

Re: Using DirectX with something like SFML

Posted 02 July 2012 - 09:17 PM

Avoiding Win32 programming won't let you learn DirectX any easier. You will have to learn to program Windows at some point to effectively learn DX.

Clearly you will have to learn the hard way, but don't say I didn't warn you! ;)
Was This Post Helpful? 0
  • +
  • -

#5 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 928
  • View blog
  • Posts: 3,998
  • Joined: 14-February 08

Re: Using DirectX with something like SFML

Posted 03 July 2012 - 01:12 AM

I agree with ButchDean, you should learn some windows programming if you really want to use DirectX. That said though, you can quite easily use SDL to create your windows and input for DirectX. You can initialise a window in SDL and use GetActiveWindow() to get a handle for it, pretty simple.
Was This Post Helpful? 0
  • +
  • -

#6 dartoscoder  Icon User is offline

  • D.I.C Regular

Reputation: 0
  • View blog
  • Posts: 313
  • Joined: 15-May 09

Re: Using DirectX with something like SFML

Posted 03 July 2012 - 03:19 PM

I know enough windows programming to get DirectX working. I am also in a class for DirectX programming so any additional windows programming will be handled there. I just really hate it so... I try to avoid it.

thanks for the info though.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1