

And finally, PyOpenGL is the most common cross platform Python binding to OpenGL and related APIs.Ĭreate a virtual environment. GLUT makes it considerably easier to learn about and explore OpenGL Programming. It implements a simple windowing API for OpenGL. And GLUT is the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs.

Utilizing the TVG Picture allows you to reduce the data size and loading time by more than 30%, on average ( See More). Note that t he charge in the performance rate depends on the resource size and its complexity.OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. That brings the reduced amount of the required runtime memory and rendering tasks that increases the performance. Thus t his is effective if your program uses a big amount of the vector resources.Īdditionally, TVG Picture helps to reduce the resource loading tasks since it can skip interpreting the data stage.

This helps not only reduce the number of I/O operations but also reduces the memory bandwidth while loading the data. The final data size is smaller in comparison to any other text-based vector data format, such as SVG, which in turn decreases the required application resources. In case of compression, it uses Lempel-Ziv-Welchi data compression algorithm.

In the optimization process, the TVG Saver filters out unused information, removing the duplicated properties, merges the overlapping shapes and compresses the data if possible, but keeping the TVG Pictures compatible with the later version of ThorVG libraries. It is responsible for optimizing the data of all the scene-tree nodes and saving them in binary format. To save data in a TVG Picture format, ThorVG uses a dedicated module - TVG Saver. The data saved in a TVG Picture is optimized beforehand, keeping the resulting file small and the data loading process fast and efficient. TVG Picture stores a list of properties of the Paint nodes of a scene in binary form. ThorVG provides the designated vector data format which is called TVG Picture.
