View Poll Results: What Windows graphics library do you use more often?

Voters
27. You may not vote on this poll
  • DirectX

    8 29.63%
  • OpenGL

    5 18.52%
  • Just the Win32 GDI

    6 22.22%
  • Other

    2 7.41%
  • Nah... I just don't like Graphics programming

    2 7.41%
  • I've never done any graphics programming

    4 14.81%

Thread: Which Windows graphics libary do you use more often?

  1. #1
    Former Member
    Join Date
    Oct 2001
    Posts
    955

    Which Windows graphics libary do you use more often?

    I use DirectX because it is very powerful and -every- new video card supports DirectX, I like OpenGL too, but...... nah!

    Oskilian

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    some SDL, lately a lot of Allegro

    Allegro! very nice & easy (no windows code needed)

  3. #3
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    Std windows app - hold the extras. GDI only, thank you!

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    OpenGL only, i doubt you wan't to hear the personal and or the capability/flexibility/(everything else) reasons so, i will spare you.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    a little something i did my 2nd day of learning allegro

    Sealab Thing

    This isn't much, but mouse, keyboard, scrolling text, sound, and bitmap movement with buffered flipping takes a lot more than 104 lines to do in Direct X.

  6. #6
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    it refuses to run on my system, is it DOS based? i use XP, no dos.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    i think i did it as a windows version but...

    Allegro compiles as a wrapper for Direct X or a standard graphics library for dos or linux, it could be that either way it has dos "pieces" in it.

    added:
    oh yeah, did you make sure it and the sealab.dat file were together in a directory? otherwise bad things can happen.

  8. #8
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    I tried Allegro, but it has no 3D acceleration, which can be a good thing, because it might run on any computer, but if you want to do complex stuff, like 1000 or more triangles each frame, it won't run smoothly on any computer, even if it has a good 3D accelerator!
    OpenGL is nice, it's very elegant, but it's features are not supported by all video cards!, I think DirectX is the most interesting one because every card supports it

    I know that a simple thing as putting a triangle in Inmediate mode takes more than 100 lines, but I think that's a good thing because you have more control of what you're doing because most functions are low-level.

    Oskilian

  9. #9
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >OpenGL is nice, it's very elegant, but it's features are not supported by all video cards!, <

    this only applies to older cards.

    >
    I know that a simple thing as putting a triangle in Inmediate mode takes more than 100 lines, but I think that's a good thing because you have more control of what you're doing because most functions are low-level.
    <

    i disagree i With GL can go infinitly lower level that D-X since i actually can get the Source to OpenGL, and write my own custom implementation.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  10. #10
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    but, using OpenGL, you can't do the new things you can do on DirectX, such as
    - Pixel Shading
    - Vertex shading
    - Full-scene antialiasing
    - Multisample effects such as motion blur, depth-of-field, etc.
    - Range-attenuation in per-pixel lighting
    - Volume atmospheric effects
    - Easy texturing of very complex geometry

    and wait until DX 9 comes up!

    on the other side DirectX is far more complete than OpenGL, you have DirectSound3D, DirectMusic, DirectPlay, DirectShow, DirectInput and DirectSetup.

    Sorry man

    Oskilian

  11. #11
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    WHAT?!!!!!!

    opengl can do nativly

    - Vertex shading
    - Full-scene antialiasing
    - Multisample effects such as motion blur, depth-of-field, etc.
    - Volume atmospheric effects

    and with extensions or with a little brain power

    - Pixel Shading
    - Range-attenuation in per-pixel lighting
    - Easy texturing of very complex geometry - this can be done with a little know how.

    what OpenGL spec are you reading? pre OpenGL -1.0(note the negative)

    how bout some features D-X deosn't have that are very useful.

    two sided polygons,
    OS independence,
    Two sided lighting,
    Volume Textures,
    Hardware independant Z buffers,
    Accumulation Buffer,
    Stereo Rendering,
    Point and line sizing,
    Picking without utilities,
    Parametric Curves and Surfaces,
    Plus GL looks Clearer and better.

    Direct 3D is no comparison to GL, period. even the possibility extension make that point even stronger

    >
    on the other side DirectX is far more complete than OpenGL, you have DirectSound3D, DirectMusic, DirectPlay, DirectShow, DirectInput and DirectSetup.
    <

    OPENGL IS GRAPHICS ONLY!!!!!! WHY CAN PEOPLE GET THIS STRAIGHT!!!
    Last edited by no-one; 10-07-2001 at 08:50 PM.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  12. #12
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    I get it, it's graphics only, so if you wanna make a game that uses joysticks with force feedback, or real-time music rendering, or 3d sound, you have to use both opengl and directx, or another library!

    I didn't know that OpenGL was open source, but if you implement a new feature, no video card at all would support it!

    Besides, all the major Video card manufacturers (ATI, nVidia, S3, Trident) are spending more money developing their boards to have more DirectX support rather than OpenGL support.

    and NO!!!, DirectX is clearer than OpenGL! My card supports both DirectX and OpenGL, I have a 3D Benchmark which can be selected to run on OpenGL or DirectX, and it looks better on DirectX, not to mention faster (93 fps vs 42 fps)

    Oskilian

  13. #13
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    before this turns into a holy war

    Direct X is good if you don't need portability across platforms, and you need more than just graphics.

    OpenGL is nice for 3d, and it gives you cross-platform support.

    If you aren't really concerned with learning a big API with tons of advanced features Allegro can be nice because it lets me focus on the game itself, rather than dealing with what the API will and won't do.

  14. #14
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    >
    Besides, all the major Video card manufacturers (ATI, nVidia, S3, Trident) are spending more money developing their boards to have more DirectX support rather than OpenGL support.
    <

    um, Wrong... look at ATI's new cards the 8500 chipset ones look at all the GL features... they just support DX they can't add extensions... same goes for nVidia, besides they realize GL is growing faster now that DX since people are realizng its capabilities and using it more.

    >
    and NO!!!, DirectX is clearer than OpenGL! My card supports both DirectX and OpenGL, I have a 3D Benchmark which can be selected to run on OpenGL or DirectX, and it looks better on DirectX, not to mention faster (93 fps vs 42 fps)
    <

    what kind of card? how old? is it tweaked?are the drivers up to date?

    a properly set up, up to date card with good drivers will always run faster in GL.PERIOD... its a fact.

    ask anyone who know GL is better looking by design even MS admist this freely, read up on their design histories and you will see GL is built for looks whilst DX is built for speed, yet GL still out preforms it.

    G-Force 2 10-25 FPS faster in GL, ATI 10-20 FPS faster in GL...

    i have an ATI Radeon and a friend has a GF2 they both run Faster in GL... on anything.

    if Direct-X is better then ask yourself this,

    Why do all Professional 3-D Renders use OpenGL?
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  15. #15
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    It runs better and faster for DirectX than in OpenGL in my ATI All-In-Wonder 128 PRO 32MB PCI, in my new ATI Radeon 7200, and in mu nVidia gForce 3, And my PC is 512 Mb RAM, 1.7 GHz

    I donīt think so, and if you do, look at the poll, more people use DirectX than OpenGL

    Sorry man

    Oskilian

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question about the old BGI graphics libary
    By p3t3r1 in forum C Programming
    Replies: 0
    Last Post: 04-30-2006, 11:19 AM
  2. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 10:00 AM
  3. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM
  5. Graphics in a window in windows
    By Korn1699 in forum C++ Programming
    Replies: 2
    Last Post: 06-16-2002, 12:59 AM