Alexander Larsson, a Flatpak developer and active member of the GNOME community, a projekt második kiadása , is developing a port of a 3D library for GObject and GTK, which can be used in practice to add 3D effects to GNOME applications. The Gthree API is almost identical to three.js, including an implemented loader (GL Transmission Format) and the ability to use PBR (Physically Based Rendering) based material models. Only OpenGL is supported for rendering.
The new version includes support for the class with the implementation of the eponymous , 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). Additionally, a new type of point lighting (GthreeSpotLight) has been added, and support for shadow maps has been provided, allowing objects placed in front of the light source to cast shadows on target objects.
Forrás: opennet.ru
