easy-phi is a library written in C++ to rendering phigros chart with no dependencies and all the platforms are supported.
- Chart Loading: Supports loading official Phigros and charts created by Re:PhiEdit.
- High Performance: Optimized for performance, suitable for real-time rendering.
- Simple API: Easy to use and understand.
- Cross Platform: Works on any platform that supports C++.
- Zero Dependencies: No external libraries are required.
- Rendering Takeover: We're taking over the entire OpenGL pipeline — you don't write a single GL call. Just give us a
proc(e.g.glfwGetProcAddress), and we handle context creation, buffer management, shader compilation, and all rendering operations from start to finish.
For the completed example, check out here.
And the Open RPE Recorder is a subproject of this project, you can find it here, we also provide its release.
Note: This library requires C++20 or later.
Just include the easy_phi.hpp header file in your project and you're ready to go!
If you want to use some extra features, you can define the following macros (helpers module is required):
-
EASY_PHI_TEXT_RENDERER: Enable internal text renderer, usingstb_truetype. -
EASY_PHI_IMAGE_DECODER: Enable internal image decoder, usingstb_image. -
EASY_PHI_GL_READ_RGB2YUV: Enable internal yuv2rgb conversion to convertGL::GL33Context::AsyncFrameReader::ReadResult, usingyuv_rgb.
Tests only supports Windows, and you need to install python and mingw-w64 that supports C++20 or later to build the test programs.
You can run the main test program by the following command:
python ./build_test.py --run --debugThis project is licensed under the MIT License.
The charts in test_files are not owned by this project, please contact for removal if there is any copyright infringement.
We do not guarantee that the api is stable between versions.