This code shows how to draw a simple triangle with OpenGL ES (OpenGL 1.0) on the screen of an Android mobile device. It is based on the tutorial OpenGL ES Tutorial for Android – Part I – Setting up the view from the Jaway Team Blog. To keep things simple I decided to implement only the necessary parts and to comment things that are not obvious. Please note that the class GL10
stands for OpenGL 1.0
.
How to draw a simple triangle with OpenGL ES in Android? weiterlesen
Schlagwort: OpenGL
OpenGL Version herausfinden
Während man die DirectX-Version über dxdiag herausfinden kann, ist die installierte OpenGL Version nicht immer sofort ersichtlich. Mit GLview (OpenGL Extension Viewer) ist auch das möglich. Unter Tasks -> Report kann man unter „Core features“ sehen, welche Version installiert ist und welche Funktionen zu wieviel % unterstützt werden.