-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of ZText (SDF-based fonts) and overlay handling in RendeQuTor #20
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…deQuTor. See examples/textExampleSDF/main.js Containts contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra font files in the repo (and avoid 18 commits). - Waad: initial implementation & tuning. - Alja: integration with REve. - Matevz: final cleanup, loading of fonts & font metrics. Full set of commits available in https://github.com/alja/RenderCore/tree/master-dec24-1450
@ss4774 I'm currently testing integration to REve. |
I like the results! Let me know when the code will be ready for a merge. |
Yes, almost there :) |
…lized ZText in an active scene.
…s some trickery in ZText::draw() and friends.
osschar
pushed a commit
to alja/root
that referenced
this pull request
Jun 10, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid 32 commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Full set of commits available in https://github.com/alja/root/tree/waa-master-2024 Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C
This is ready to go ... we might have some more things later, like implementation of mixed mode: position in world-coordinates, size in screen units. |
Merging the pull request. |
alja
pushed a commit
to alja/root
that referenced
this pull request
Jun 13, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid 32 commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Full set of commits available in https://github.com/alja/root/tree/waa-master-2024 Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C Update RenderCore version to 1.5.
osschar
pushed a commit
to alja/root
that referenced
this pull request
Jun 14, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid 32 commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Full set of commits available in https://github.com/alja/root/tree/waa-master-2024 Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C Update RenderCore version to 1.5.
osschar
pushed a commit
to alja/root
that referenced
this pull request
Jul 28, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid numerous commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Mac and Windows fixes. Full set of initial development commits is available from: https://github.com/alja/root/tree/waa-master-2024 Commits to get things working on Mac/Windows and libAfterImage/libpng: https://github.com/alja/root/tree/waad-revetext-overlay-master-6.33-rb1-final Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C Update RenderCore version to 1.5. Location of SDF font and metrics files: When REveText::AssertSdfFont() is called for the first time it chooses a writable location in eiter $ROOTSYS/ui5/eve7/sdf-fonts or a ./sdf-fonts in the current directory. Alternatively REveText::SetSdfFontDir() can be called beforehand to manually specify the desired location.
osschar
pushed a commit
to alja/root
that referenced
this pull request
Jul 28, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid numerous commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Mac and Windows fixes. Full set of initial development commits is available from: https://github.com/alja/root/tree/waa-master-2024 Commits to get things working on Mac/Windows and libAfterImage/libpng: https://github.com/alja/root/tree/waad-revetext-overlay-master-6.33-rb1-final Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C Update RenderCore version to 1.5. Location of SDF font and metrics files: When REveText::AssertSdfFont() is called for the first time it chooses a writable location in eiter $ROOTSYS/ui5/eve7/sdf-fonts or a ./sdf-fonts in the current directory. Alternatively REveText::SetSdfFontDir() can be called beforehand to manually specify the desired location.
linev
pushed a commit
to root-project/root
that referenced
this pull request
Jul 29, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid numerous commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Mac and Windows fixes. Full set of initial development commits is available from: https://github.com/alja/root/tree/waa-master-2024 Commits to get things working on Mac/Windows and libAfterImage/libpng: https://github.com/alja/root/tree/waad-revetext-overlay-master-6.33-rb1-final Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C Update RenderCore version to 1.5. Location of SDF font and metrics files: When REveText::AssertSdfFont() is called for the first time it chooses a writable location in eiter $ROOTSYS/ui5/eve7/sdf-fonts or a ./sdf-fonts in the current directory. Alternatively REveText::SetSdfFontDir() can be called beforehand to manually specify the desired location.
silverweed
pushed a commit
to silverweed/root
that referenced
this pull request
Aug 19, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid numerous commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Mac and Windows fixes. Full set of initial development commits is available from: https://github.com/alja/root/tree/waa-master-2024 Commits to get things working on Mac/Windows and libAfterImage/libpng: https://github.com/alja/root/tree/waad-revetext-overlay-master-6.33-rb1-final Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C Update RenderCore version to 1.5. Location of SDF font and metrics files: When REveText::AssertSdfFont() is called for the first time it chooses a writable location in eiter $ROOTSYS/ui5/eve7/sdf-fonts or a ./sdf-fonts in the current directory. Alternatively REveText::SetSdfFontDir() can be called beforehand to manually specify the desired location.
alja
pushed a commit
to alja/root
that referenced
this pull request
Aug 20, 2024
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra files in the repo (some committed by mistake) and to avoid numerous commits. * Waad: initial implementation & tuning. * Alja: integration with REve. * Matevz: final cleanup, loading of fonts & font metrics. Mac and Windows fixes. Full set of initial development commits is available from: https://github.com/alja/root/tree/waa-master-2024 Commits to get things working on Mac/Windows and libAfterImage/libpng: https://github.com/alja/root/tree/waad-revetext-overlay-master-6.33-rb1-final Related PR in RenderCore: UL-FRI-LGM/RenderCore#20 Demo: tutorials/eve7/texts.C Update RenderCore version to 1.5. Location of SDF font and metrics files: When REveText::AssertSdfFont() is called for the first time it chooses a writable location in eiter $ROOTSYS/ui5/eve7/sdf-fonts or a ./sdf-fonts in the current directory. Alternatively REveText::SetSdfFontDir() can be called beforehand to manually specify the desired location.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See examples/textExampleSDF/main.js
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra font files in the repo (and avoid 18 commits).
Full set of commits available in https://github.com/alja/RenderCore/tree/master-dec24-1450
For font generation use this (see mk_fonts.sh, gzip -9 the json font-metrics).
https://github.com/osschar/sdf_atlas