Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DirectX or OpenGL?

DirectX or OpenGL?

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsgame-devquestionperformancelearning
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    moliate
    wrote on last edited by
    #1

    I have recently started learning some more computer graphics (mostly 2D) for my hobby projects. My question is if I should dig deeper into DirectX or OpenGL? DirectX has better performance (on MS platforms), but is more complex. OpenGL has the advantage of better portability, but lack some of the bells and whistles of DirectX. Are these observations correct, and which do you suggest for learning? Any suggestions would be appreciated. :) Thanks /moliate

    R 1 Reply Last reply
    0
    • M moliate

      I have recently started learning some more computer graphics (mostly 2D) for my hobby projects. My question is if I should dig deeper into DirectX or OpenGL? DirectX has better performance (on MS platforms), but is more complex. OpenGL has the advantage of better portability, but lack some of the bells and whistles of DirectX. Are these observations correct, and which do you suggest for learning? Any suggestions would be appreciated. :) Thanks /moliate

      R Offline
      R Offline
      Rick York
      wrote on last edited by
      #2

      This article at GameDev is about this exact topic. My personal view is that OpenGL is not lacking in performance or capabilities (refer to Quake3) and is a bit simpler to use but I have not done any significant programming with DX. Given the large volume of samples and tutorials on OpenGL I think it would probably be better to learn with initially.

      M 1 Reply Last reply
      0
      • R Rick York

        This article at GameDev is about this exact topic. My personal view is that OpenGL is not lacking in performance or capabilities (refer to Quake3) and is a bit simpler to use but I have not done any significant programming with DX. Given the large volume of samples and tutorials on OpenGL I think it would probably be better to learn with initially.

        M Offline
        M Offline
        moliate
        wrote on last edited by
        #3

        Thanks for the article! Must admit that the bulk of code required to write even the simplest DirectX app was getting me down, but I thought it was the way to do it on MS platforms. I'll take a furter look at OpenGL... /moliate

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups