Valhalla Legends Forums Archive | General Programming | Graphics [c++]

AuthorMessageTime
iago
To do simple 2d rendering (say, from bmp's or gif's or whatever), what would you recommend for a graphics library?

I just want to play around. :-)
April 13, 2003, 4:36 PM
Eibro
I recommend SDL: http://www.libsdl.org/ it's platform independant, open source and has tons of examples and add-ons. A few professional games have already been ported to Linux using it. Also, I've used it in the past so I can help you out.

The only other option I see is DirectDraw 7.
April 13, 2003, 4:44 PM
Skywing
[quote author=iago link=board=5;threadid=1032;start=0#msg7723 date=1050251765]
To do simple 2d rendering (say, from bmp's or gif's or whatever), what would you recommend for a graphics library?

I just want to play around. :-)
[/quote]Why not just Windows GDI?
April 13, 2003, 6:42 PM
St0rm.iD
Because SDL is fast, easy, and multi-platform?
April 14, 2003, 1:11 AM
Skywing
[quote author=St0rm.iD link=board=5;threadid=1032;start=0#msg7753 date=1050282660]
Because SDL is fast, easy, and multi-platform?
[/quote]Actually, he hasn't specified which platform(s) he needs to support (enlighten us, iago?) - if he's using Win32, GDI would most likely be just fine. Given that somebody else suggested a Win32 thing, I figured I might as well chime in.
April 14, 2003, 2:20 AM
MrRaza
I'd help out but i only know how to do some graphics in C.... i suggest going to the library and finding a book on the subject, that's what I did...
April 14, 2003, 12:51 PM
iago
[quote author=Skywing link=board=5;threadid=1032;start=0#msg7756 date=1050286854]
[quote author=St0rm.iD link=board=5;threadid=1032;start=0#msg7753 date=1050282660]
Because SDL is fast, easy, and multi-platform?
[/quote]Actually, he hasn't specified which platform(s) he needs to support (enlighten us, iago?) - if he's using Win32, GDI would most likely be just fine. Given that somebody else suggested a Win32 thing, I figured I might as well chime in.
[/quote]

I doubt I'll have to go multiplatorm, so Windows works. :-)
April 14, 2003, 4:52 PM

Search