Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

non retarded graphics library

Name: Anonymous 2011-02-05 23:22

So I am unwilling to deal with native things like X11 or GDI...

What's actually practical for displaying stuff? SDL seem well enough at the first glance but it suffers from version bloat and LGPL.

I'm thinking of trying General Graphics Interface which claims equal portability and has a MIT licence.

The other alternative seems Anti-Grain Geometry which is fully featured but suffers from GPL and sepples.

Name: Anonymous 2011-02-06 2:16

On modern Windows (Vista and later) you use Direct2D 1.0 instead of GDI, and Direct3D 11.0 for 3D stuff obviously. Both are horrible COM APIs, but hey, it's not that bad, they don't force hungarian notation on you anymore.

Everywhere else, you use OpenVG (Open Vector Graphics) for 2D stuff, and OpenGL for 3D stuff. OpenVG is pretty new so there's not too much support for it yet, but there is ShivaVG which is built on top of OpenGL and works quite nicely on X Windows.

http://shivavg.sourceforge.net/

The problem with GGI and Anti-Grain Geometry libraries are that they are dumb frame buffer software rasterization graphics libraries that don't make use of hardware accelerated 3D graphics cards.

Seriously, do you want to be contributing to the camp that continues to make slow bloated software that everyone complains about simply because they're too afraid to learn OpenGL/OpenVG?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List