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

OBJ thumbnails #71

Open
pierotofy opened this issue Feb 25, 2022 · 0 comments
Open

OBJ thumbnails #71

pierotofy opened this issue Feb 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pierotofy
Copy link
Contributor

pierotofy commented Feb 25, 2022

This is a tricky problem to solve, since Nexus files require an OpenGL context to render a model and server-side rendering in places where X is not present do not have it.

One crazy but ingenious idea could be to generate thumbnails at the first successful render on the client side (via Javascript) and send the thumbnail to the server.

Other approaches would need a processing server that has an OpenGL context able to 1. Download the nexus model, 2. Render it and 3. Send it back to Registry. This seems the approach used by Sketchfab, but it doesn't suit very well for self-host scenarios.

Another approach could be to render the model directly instead of a thumbnail for all model objects. But I think this adds significant bandwidth to all clients viewing the file list.

@pierotofy pierotofy added the enhancement New feature or request label Feb 25, 2022
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

No branches or pull requests

1 participant