tree: 8b9e3695f5ab097674fc3fd66f184e1592853dae [path history] [tgz]
  1. src/
  2. build.gradle.kts
  3. gradle.properties
  4. README.md
kotlin-native/samples/opengl/README.md

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.

To run use ../gradlew runReleaseExecutableOpengl or execute the program directly:

./build/bin/opengl/main/release/executable/opengl.kexe

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