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

Expose API method to generate isometric block renders #422

Open
extremeheat opened this issue Jan 10, 2024 · 0 comments
Open

Expose API method to generate isometric block renders #422

extremeheat opened this issue Jan 10, 2024 · 0 comments

Comments

@extremeheat
Copy link
Member

https://minecraft.fandom.com/wiki/Minecraft_Wiki:Standardized_views - isometric renders are used inside inventories in Minecraft to show a 3D block projected to 2D form:

As prismarine-viewer already has the rendering logic and connections to minecraft-assets for the block models and related data, it should be simple to expose a lib/ script to generate these images with an orthographic three.js camera and then expose a PNG or bitmap image. This could also be called from the model pre-builder script if not done dynamically in the client.

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