Cogl is a modern 3D graphics API with associated utility APIs designed to expose the features of 3D graphics hardware using a more object oriented design than OpenGL. The library has primarily been driven by the practical needs of Clutter but it is not tied to any one toolkit or even constrained to developing UI toolkits.
I have known the names of the common gnome libraries: cairo, pango, gtk, clutter and cogl for a long time, but recently i actually found out what the the libraries did. And the gnome documentation just told me that cogl can draw 3D in a more oo way, as shown in the quote above. But i find it hard to get started.
So How can i use cogl to draw a 3d cube in vala? Is it possible to animate the cube with clutter?
after looking through the internet, i couldn't find much. so i went to Github to look at some other peoples code but most of the code is made in C and seemed hard to read.
Can you show some examples or links to some examples written in vala? (can also be in C, but it makes it a little harder to read)
Thanks in advance