Page 1 of 1

TinyGL

Posted: Mon May 30, 2011 8:20 pm
by XVilka
Mesa - это, конечно, очень круто, но слишком много для Колибри.
Великий математик нашего времени и тут сделал вклад. Встрейчате:
TinyGL - подмножество OpenGL, с наиболее часто применимыми функциями, и прри этом очень маленького размера (40 килобайт в скомпилированном виде).
Вот краткая его характеристика:

Header compatible with OpenGL (the headers are adapted from the very good Mesa by Brian Paul et al.)
Zlib-like licence for easy integration in commercial designs (read the LICENCE file).
Subset of GLX for easy testing with X Window.
GLX like API (NGLX) to use it with NanoX in Microwindows.
Subset of BGLView under BeOS (thank to Peder Blekken).
OpenGL like lightening.
Limited support of OpenGL 1.1 arrays.
Complete OpenGL selection mode handling for object picking.
16 bit Z buffer. 16 bit RGB display. High speed dithering to paletted 8 bits if needed. High speed convertion to 24 or 32 bits.
Fast Gouraud shadding optimized for 16 bit RGB.
Fast texture mapping capabilities, with perspective correction and texture objects.
32 bit float only arithmetic.
Very small: compiled code size of about 40 kB on x86.
C sources for GCC on 32/64 bit architectures. It has been tested succesfully on x86-Linux and sparc-Solaris.

Подробности см тут: http://bellard.org/TinyGL/

Re: TinyGL

Posted: Mon May 30, 2011 8:27 pm
by XVilka
тьфу, оказывается было уже... viewtopic.php?f=24&t=584
Правда, там все потухло, а раз месу собрали, то и это возможно. За сим откланяюсь.

Вот тут уже портированная TinyGL - http://www.iadn.narod.ru/ Там же примеры.