MiniLibX
#todo/coding Should somehow add support for shaders. The Mac version has it.
# Building
run ./configure
to generate Makefile.gen
. Then make -f Makefile.gen
.
# Usage
Link with -lXext -lX11
# Notes
On my laptop it uses shm image format.
Default Colormap
: 32
Default depth
: 24
Seems like you need to know whether big or little endian your system is to manipulate colors correctly. Nuts.
# Issues
On X11 you have to
wait until Expose
event before drawing anything on the screen.
More or less good font I have on my system:-bitstream-courier 10 pitch-bold-r-normal--0-0-120-120-m-0-iso8859-1
# See also
# Links
- MiniLibX - 42 Docs
- X PixMap - Wikipedia
- 3D Graphics and Animation Programming Tutorial in C/Linux #01 - Creating Triangle - YouTube
Various fixes