Thread: win32 or opengl

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    50

    win32 or opengl

    If Win32 and opengl can both do the same thing...

    I know thats probably not all true, because?...

    Which one should I learn first? Considering that i want to make games and thats about it "cough" "cough" HACKS "cough" "cough"...

    Now, because I said "games" you're going to say opengl, but i'm also going to learn ASM to get into a program's code etc... So then, what do you suggest

    thanks
    jay

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    You can't realy compare the win32 API to opengl, you would be better comparing OpenGl to Directx or some other graphics library. If you going to code on windows then you need to learn the Win32 API first. Once you understand how to make a windows program you can learn a graphics library.

  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    ok, so you only want to write games. openGL then. You really don't need to learn Win32 to pull off an openGL game. Although if you ever want to make any money at this, you should widen your spectrum and Win32 is a good place to start.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  4. #4
    Registered User
    Join Date
    May 2005
    Posts
    50
    How does win32 differ from OpenGl?

  5. #5
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    win32 is the set of functions provided to interface with the windows operating system. OpenGL is a set of functions which will interface with your high level capabilities of your video adapter. Hardware acceleration provided by the card or emulated by opengl software are provided for higher level operations.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  6. #6
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    Let's say you wish to brush your teeth.

    Win32 - Hand
    OpenGL - Toothbrush

    Now your Hand can use other things.

    DirectX - Comb
    SDL - Pencil

    Basically you need Win32 for the windowing system, but what you draw inside the window can be SDL, OpenGL or DirectX.

  7. #7
    ---
    Join Date
    May 2004
    Posts
    1,379
    Without trying to confuse you, SDL can also be the windows system

  8. #8
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Which one should I learn first? Considering that i want to make games and thats about it "cough" "cough" HACKS "cough" "cough"...

    Now, because I said "games" you're going to say opengl, but i'm also going to learn ASM to get into a program's code etc... So then, what do you suggest
    You, sir, are a moron. We don't talk about hacking here - if you want to learn how to screw your games up and screw them up for someone else.............Go somewhere else and talk about it

    So either get with the program here bud or simply get lost. Your attitude towards the subject and your jesting about it are not appreciated.
    Last edited by VirtualAce; 06-02-2005 at 05:26 PM.

  9. #9
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    "cough" "cough" HACKS "cough" "cough"
    "cough" "cough" CLOSED "cough" "cough"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opengl and networking on win32
    By viaxd in forum Windows Programming
    Replies: 7
    Last Post: 01-11-2006, 09:15 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. win32 openGL?
    By c++.prog.newbie in forum C++ Programming
    Replies: 20
    Last Post: 05-17-2004, 03:42 PM
  4. win32, openGL basecode
    By Perspective in forum Game Programming
    Replies: 6
    Last Post: 03-10-2003, 09:43 PM
  5. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM