You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Runtime changes
Add functions to calculate the bounding box of a slot.
Make public the transform matrix to facilitate drawing the bounding-box outside.
Viewer changes
Move manipulation dialogues into tab pages.
Add ImGui version as well as Windows native-UI version.
Difference of ImGui version compared to native-UI version.
Render Spine on render-texture instead of directly into screen.
The recorder copies and stores this render-texture during recording, instead of copying the whole screen.
Provide runtime manipulation based on ImGui, instead of CPU-driven native UIs.
The manipulation/configuration formerly available on CPU-based dialogue are moved to ImGui window which can be called from file menu Tool -> Show tool dialogue.
CPU-based UI is remained for file extensions setting, because these should be configured in prior to loading and rendering Spine.
Another CPU-based UI is added for font setting because this should be managed outside of the immediate GUI rendering.
Tool -> Font to open dialogue to specify the font file and size for ImGui.
Also, window menu and context menu are remained native because the former should be accessible even if the Spine is yet to be loaded, and for the latter there is not so much reasons to migrate.
R-pressed + L-drag to move the main window regardless of its style, namely borderless or not.
Able to draw the bounding box of a slot.
Demonstration
Render the bounding of a slot
Slot.bounding.mp4
Set up font for ImGui
In order for ImGui to render non-Ascii characters, it is required to set appropriate font.