feat: introduce glTF 3D scene export and headless EGL rendering backend - #54
Open
Paramveersingh-S wants to merge 3 commits into
Open
feat: introduce glTF 3D scene export and headless EGL rendering backend#54Paramveersingh-S wants to merge 3 commits into
Paramveersingh-S wants to merge 3 commits into
Conversation
schwicke
reviewed
Aug 17, 2026
Collaborator
There was a problem hiding this comment.
This one should not be in the repo.
| #define PWST_HCOPY_TRUE_PDF 8 | ||
| #define PWST_HCOPY_TRUE_SVG 9 | ||
| #define PWST_HCOPY_TRUE_OBJ 10 | ||
| #define PWST_HCOPY_TRUE_GLTF 11 |
Collaborator
There was a problem hiding this comment.
This new workstation type should be documented. PR #52 comes with more extensive man pages for popwk/popen_ws where this should go
| @@ -0,0 +1,16 @@ | |||
| import urllib.request, json | |||
Collaborator
There was a problem hiding this comment.
Please add license headers.
| @@ -0,0 +1,39 @@ | |||
| # OpenPHIGS Bindings Refactor (PR #51) - Memory & Context | |||
Collaborator
There was a problem hiding this comment.
Should this be part of the repository ?
Contributor
Author
|
Hi @schwicke, My apologies for mistakenly pushing those extra files in the previous commit, I've gone ahead and cleaned up the branch. |
This file contains hidden or 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
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.
Following up on your work adding OBJ exports and Wayland support, I thought it would be a step forward to add glTF support.
I mirrored how you built the wsgl_obj.c workstation to create wsgl_gltf.c, which serializes the scene tree to a JSON format.
Also, since we sometimes need to run these exports on backend CI servers without a display manager, I added a fallback Headless EGL initialization context. This means OpenPHIGS can now render and generate SVGs/PDFs/glTFs purely server-side without needing xvfb or an X11/Wayland display server!