Kotlin OpenGL Render SVG using librsvg

Submitted by Dickens A S on Fri, 11/22/2019 - 07:55

Kickstart Kotlin OpenGL using GLEW, librsvg using below github code

GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/opengl-cairo-rsvg

Output window with GLFW

SVG Using librsvg

 

MSYS2 : https://www.msys2.org/

This is required for windows to download pre-compiled libraries and its headers

pacman -S mingw-w64-x86_64-glew mingw-w64-x86_64-glfw mingw-w64-x86_64-cairo mingw-w64-x86_64-librsvg

change x86_64 to i686 for 32 bit widows

For GLAD refer this code kotlin glad opengl glsl

For Pango+Cairo refer this code opengl svg pango cairo

For Vulkan refer this code vulkan triangle example

For GLEW refer this code kotlin opengl glsl

For Chipmunk 2D game physics refer this code kotlin svg chipmunk

 

Add new comment