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

Image generation using nodejs #1

Merged
merged 7 commits into from
Jan 31, 2024
Merged

Conversation

NotReeceHarris
Copy link
Member

The way this works is shady, by default three.js doesn't support image rendering on nodejs as it uses the browsers Dom however i have modified/hacked the three.js code to use JSDOM and Canvas, along side gl.

This now has the ability to load OBJ and MTL files from local instead of the defaulted by http, and also render them, the next step is to optimism and remove redundant code (we only use about 12/400 files in threejs)

@NotReeceHarris NotReeceHarris added the enhancement New feature or request label Jan 31, 2024
@NotReeceHarris NotReeceHarris merged commit 1429e00 into main Jan 31, 2024
@NotReeceHarris NotReeceHarris deleted the image-generation-using-nodejs branch April 23, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant