Programowanie w systemie UNIX/OpenGL
wersje
edytuj- legacy
- modern[1]
Języki
edytujProgramowanie OpenGL z użyciem:
testy
edytuj- glxinfo
- glxinfo | grep "OpenGL version"
- glinf by Martin Lambers
ubuntu-drivers devices
Przykładowy wynik:
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd00001184sv00001458sd00003603bc03sc00i00 vendor : NVIDIA Corporation model : GK104 [GeForce GTX 770] driver : nvidia-driver-470 - distro non-free recommended driver : nvidia-driver-390 - distro non-free driver : nvidia-driver-450-server - distro non-free driver : nvidia-driver-470-server - distro non-free driver : nvidia-driver-418-server - distro non-free driver : xserver-xorg-video-nouveau - distro free builtin
Biblioteki
edytujGUI
edytujOpenGL Mathematics
edytuj- glm [2] OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications.
- imath is a C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics
Programy
edytujDokumentacja
edytuj- OpenGL Shading Language
- docs.gl
- Red book[3]
- Blue book[4]
- ogldev - Modern OpenGL Tutorials In C++ on Ubuntu by Etay Meiri
- The Book of Shaders by Patricio Gonzalez Vivo and Jen Lowe
- learnopengl
OpenGL is right handed in object space and world space. But in window space (aka screen space) we are suddenly left handed.[5]
Formaty pixeli
edytujWyliczeniowe typy pixeli w OpenGL:[6]
- GL_(UNSIGNED_)BYTE: 1 byte
- GL_(UNSIGNED_)SHORT: 2 bytes
- GL_(UNSIGNED_)INT: 4 bytes
- GL_HALF_FLOAT: 2 bytes
- GL_FLOAT: 4 bytes
przykłady
edytuj- tinyrender
- tinyraytracer
- expressions: a collection of expressions that can be used with source code for surface and displacement shaders.
- noise
Zobacz również
edytuj- apitrace śledzenie wywołań API OpenGL, Direct3D i DirectDraw do pliku