Files
kotlin-fork/samples/opengl

OpenGL application

This example shows interaction with OpenGL library, to render classical 3D test model. Linux build requires apt-get install freeglut3-dev or similar, MacOS shall work as is.

To build use ../gradlew assemble or ./build.sh.

Now you can run the application

./build/exe/main/release/OpenGlTeapot.kexe

It will render 3D model of teapot. Feel free to experiment with it, the whole power of OpenGL is at your hands.