iLexiconn / Qubble

Minecraft modeler
10 stars 2 forks source link

bad texture mapping when export to json #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

When import from tabula and then export to json, all texture mapping uv are set to:

      "uv": [
        0.0,
        0.0,
        1.0,
        1.0
      ],

version 1.10.2

https://github.com/iLexiconn/Qubble/blob/master/src/main/java/net/ilexiconn/qubble/server/model/exporter/JsonExporter.java#L76

Gegy commented 8 years ago

Yes, textures work differently in json and in regular entity models. It cannot be converted.

ghost commented 8 years ago

Block is shown in this editor ok, texturemap works, but it cannot be exported to json properly.

Gegy commented 8 years ago

Yes, you can't use regular textures on json.