Skip to content
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

three.js: consider using json Object/Scene format #239

Open
hamogu opened this issue May 22, 2023 · 1 comment
Open

three.js: consider using json Object/Scene format #239

hamogu opened this issue May 22, 2023 · 1 comment

Comments

@hamogu
Copy link
Member

hamogu commented May 22, 2023

The current three.js code writes actual test files, which are directly executable. It would be much easier to just produce json files in Python and load them into Three.js with the generic ObjectLoader

https://threejs.org/docs/#api/en/loaders/ObjectLoader

@hamogu
Copy link
Member Author

hamogu commented May 22, 2023

More precisely, this can replace the homegrown json loader in marxs and I can throw out the "write javascript directly" writer. Taken together, three.js should be a format that I can pretty easily output again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant