Martin-Pitt / create-astral-calc

Calculator for the Create mod in Create: Astral
https://martin-pitt.github.io/create-astral-calc/
0 stars 0 forks source link

Rendering the blocks in 3D #3

Open Martin-Pitt opened 1 year ago

Martin-Pitt commented 1 year ago

I did a little research and think it might be possible to render the blocks.

The blocks are mostly as JSON files here: https://github.com/Creators-of-Create/Create/tree/2201d87da7744cf9ee3f83e1e4c21643244f342b/src/main/resources/assets/create/models/block

A lot of these seem to be created with a tool called Blockbench.

As Blockbench was web-based and the Create mod uses raw bench json files, I initially thought of having a parser/renderer of these files. However it would add complexity and maintenance difficulties. Blockbench recommends exporting to gLTF, so I'll do that.