my point still stands. If a library can be used for graphics, it is totaly legit to call it a graphics library.Originally Posted by bithub
my point still stands. If a library can be used for graphics, it is totaly legit to call it a graphics library.Originally Posted by bithub
Actully I belive that both Allegro and SDL use DirectX for windows graphics but even though I still think they are libraries like perspective said
Woop?
If it is not a library, then what would you call it, bithub?
www.libsdl.org
Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power."
Well, I am pretty sure that SDL is not dependant on any other libraries except when it comes to 3d. SDL gets access to 3d hardware by going through OpenGL. But other than that its functions and the low-level things they do are completely independant.
[note] These are my personal opinions and should not be held against me [/note]
What is C++?
If you check out the source to SDL, you'll find out it uses DirectX if that is available and if not goes with GDI instead. This is all under Win32 of course and I'm not sure what it uses under the other platforms.
Taken From Allegro's website http://www.talula.demon.co.uk/allegr...en/readme.html400th post Party?# DOS graphics drivers for VGA mode 13h, mode-X (twenty three tweaked VGA resolutions plus unchained 640x400 Xtended mode), and SVGA modes with 8, 15, 16, 24, and 32 bit color depths, taking full advantage of VBE 2.0 linear framebuffers and the VBE/AF hardware accelerator API if they are available. Additional video hardware support is available from the FreeBE/AF project (http://www.talula.demon.co.uk/freebe/).
# Windows graphics drivers using DirectX in fullscreen and windowed modes, plus routines for drawing onto GDI device contexts.
# Unix graphics drivers for X, DGA, fbcon, SVGAlib, VBE/AF, mode-X, and standard VGA.
# BeOS graphics drivers using BWindowScreen in fullscreen and BDirectWindow in windowed modes.
# MacOS X native graphics drivers using CGDirectDisplay API for direct fullscreen gfx access and QuickDraw in a Cocoa window in windowed mode.
Woop?
Well, isnt this interesting.
I guess it stands to reason. I just really had no idea. I have used allegro, and now that I think of it allegro does have 3d support, so that could be routed through DirectX.
Ah, the truths are uncovered.
What is C++?
Actully if you want to do 3d in Allegro You would use allegroGL which uses big shocker OpenGL I think that Allegro just uses the 2d stuff of DX same with SDL
Woop?
Oh this is confusing...
Next you'll tell me that I can use directX with DevCpp...
Oh the humanity.
I think im just going to stick with a WinAPI/OpenGL combo...
What is C++?
Actully you can use direct x with dev-c++ but hey openGL and win32 is not a bad combo even though i can't do it
Woop?
Holy mother of shiznit... I give up..Actully you can use direct x with dev-c++
What is C++?
Im sorry i ruinied your day but heres a link to a whole bunch of add-ons to Dev I gave it out earlier in rod's thread but you should check it too http://devpaks.org/
Woop?
Geez people just get MSVC, dump DOS, Allegro and all that and choose:
OpenGL or Direct3D.
It's that simple.
Well, unless we start some kind of fund raiser for vicious, MSVC is out of the question.
And I do choose OpenGL, I fins it quite wonderful. I would try DirectX but its hard to find any up-to-date tutorials that will work with the 9 SDK and I havent quite gotten it set up with Dev yet either.
What is C++?