Programowanie w systemie UNIX/c grafika/OpenGL: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
literówka
m →‎Przykłady: technika
Linia 475:
 
= Przykłady=
==grafika 2d==
 
Technika: <ref>[http://stackoverflow.com/questions/25097178/how-to-draw-a-2d-image-using-opengl stackoverflow question : how-to-draw-a-2d-image-using-opengl]</ref>
* old OpenGl
** glDrawPixels
* modern OpenGl
** drawing a flat quadrilateral with an orthographic projection camera
** applying a texture on top of it
 
==Pierwszy program ==