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. The Lounge
  3. OpenGL Or Win32 Api

OpenGL Or Win32 Api

Scheduled Pinned Locked Moved The Lounge
graphicsgame-devjsonannouncement
3 Posts 3 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.
  • R Offline
    R Offline
    Ravish
    wrote on last edited by
    #1

    We are developing an application for process modelling. The end users require a Visio like tool for modelling. Which is the way to go Win32 Api or OpenGl or something else. The intial version will have very little modelling features, but it is expected that we might add lot more. Thanks

    A 1 Reply Last reply
    0
    • R Ravish

      We are developing an application for process modelling. The end users require a Visio like tool for modelling. Which is the way to go Win32 Api or OpenGl or something else. The intial version will have very little modelling features, but it is expected that we might add lot more. Thanks

      A Offline
      A Offline
      Anna Jayne Metcalfe
      wrote on last edited by
      #2

      It depends on what you want to display really. If you need to draw in 3 dimensions, you have a choice between Direct3D (COM based) or OpenGL (procedural). Either will quite happily do the job, although MS are naturally pushing Direct3D rather than OpenGL. If you only need 2D views, you have a choice between DirectDraw (COM based), GDI or GDI+. Which is best for you will depend upon speed, platform and flexibility:

      • DirectDraw can be hardware accelerated but has a limited implementation on NT (and probably Win95) - it's only well supported on Win98, Win2k and WinXP. DirectDraw has a lot in common with Direct3D, which could be useful if you have to do both.
      • GDI is a pain. I'd avoid it if at all possible, unless you have a good reason to use it.
      • GDI+ is promising - it's easier and more flexible than GDI, but with an easier learning curve than DirectDraw. However, it isn't hardware accelerated (yet!) and requires you to redistribute the installer with your app. It will work on all 32 bit flavours of Windows (except Win95) though.

      Your best bet is probably to write some demo apps and see which suits your product. Good luck. :) Andy Metcalfe - Sonardyne International Ltd

      Trouble with resource IDs? Try the Resource ID Organiser Add-In for Visual C++ 5.0/6.0
      "I'm just another 'S' bend in the internet. A ton of stuff goes through my system, and some of the hairer, stickier and lumpier stuff sticks." - Chris Maunder (I just couldn't let that one past ;))

      N 1 Reply Last reply
      0
      • A Anna Jayne Metcalfe

        It depends on what you want to display really. If you need to draw in 3 dimensions, you have a choice between Direct3D (COM based) or OpenGL (procedural). Either will quite happily do the job, although MS are naturally pushing Direct3D rather than OpenGL. If you only need 2D views, you have a choice between DirectDraw (COM based), GDI or GDI+. Which is best for you will depend upon speed, platform and flexibility:

        • DirectDraw can be hardware accelerated but has a limited implementation on NT (and probably Win95) - it's only well supported on Win98, Win2k and WinXP. DirectDraw has a lot in common with Direct3D, which could be useful if you have to do both.
        • GDI is a pain. I'd avoid it if at all possible, unless you have a good reason to use it.
        • GDI+ is promising - it's easier and more flexible than GDI, but with an easier learning curve than DirectDraw. However, it isn't hardware accelerated (yet!) and requires you to redistribute the installer with your app. It will work on all 32 bit flavours of Windows (except Win95) though.

        Your best bet is probably to write some demo apps and see which suits your product. Good luck. :) Andy Metcalfe - Sonardyne International Ltd

        Trouble with resource IDs? Try the Resource ID Organiser Add-In for Visual C++ 5.0/6.0
        "I'm just another 'S' bend in the internet. A ton of stuff goes through my system, and some of the hairer, stickier and lumpier stuff sticks." - Chris Maunder (I just couldn't let that one past ;))

        N Offline
        N Offline
        Navin
        wrote on last edited by
        #3

        1. You can use OpenGL for 2D graphics, although it's not really meant for that. It's probably better to use that than use straight GDI. 2. It depends on your target OS. If you have any Windows NT 4.0 users, forget Direct3D, becuase AFAIK, it is not supported on NT. 9X, 2000, and beyond, though, I believe are OK. The early bird may get the worm, but the second mouse gets the cheese.

        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