Release of Gthree 0.2.0, a 3D library based on GObject and GTK

Alexander Larsson, Flatpak developer and active member of the GNOME community, ΠΎΠΏΡƒΠ±Π»ΠΈΠΊΠΎΠ²Π°Π» second edition of the project Gthreedeveloping a port of the 3D library three.js for GObject and GTK, which in practice can be used to add 3D effects to GNOME applications. The Gthree API is almost identical to three.js, including the implementation of the loader glTF (GL Transmission Format) and the ability to use materials based on PBR (Physically Based Rendering) in models. Only OpenGL is supported for rendering.

The new version adds support for the class Raycaster with the implementation of the same name render method, which can be used to determine which objects in 3D space the mouse is over (for example, to capture 3D objects from the scene with the mouse). In addition, a new type of spot light (GthreeSpotLight) has been added and support has been provided for shadow maps, which allow objects placed in front of a light source to cast shadows on the target object.

Release of Gthree 0.2.0, a 3D library based on GObject and GTK

Source: opennet.ru

Add a comment