• Welcome to Valhalla Legends Archive.
 

Graphics [c++]

Started by iago, April 13, 2003, 11:36 AM

Previous topic - Next topic

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. :-)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


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.
Eibro of Yeti Lovers.

Skywing

Quote from: iago on April 13, 2003, 11:36 AM
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. :-)
Why not just Windows GDI?

Banana fanna fo fanna

Because SDL is fast, easy, and multi-platform?

Skywing

Quote from: St0rm.iD on April 13, 2003, 08:11 PM
Because SDL is fast, easy, and multi-platform?
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.

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...

iago

Quote from: Skywing on April 13, 2003, 09:20 PM
Quote from: St0rm.iD on April 13, 2003, 08:11 PM
Because SDL is fast, easy, and multi-platform?
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.

I doubt I'll have to go multiplatorm, so Windows works.  :-)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*