PrismarineJS/prismarine-viewer

Expose API method to generate isometric block renders

extremeheat opened this issue · 0 comments

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.