jmc2obj / j-mc-2-obj

Java-based Minecraft-to-OBJ exporter.
http://www.jmc2obj.net
331 stars 57 forks source link

[Feature Request] Add support for Connected Textures (CTM) #235

Open JackSPD opened 7 months ago

JackSPD commented 7 months ago

Hi!

I have been using jMc2Obj to export some of my Minecraft projects and it has been working excellently! However, my projects make heavy use of a custom texture pack and this pack utilises a lot of connected textures. Currently, exporting such blocks with this functionality does not transfer over to the .obj when opening the exported model in Blender. See below for an example:

blenderctm

I was wondering if it's possible to support this in jMc2obj? This potentially could be a big ask and I understand if it is not possible, I just wanted to put a feature request in as with this functionality builds could be exported and appear exactly as they do in-game allowing for near perfect renders. CTM uses a TileSet to represent every possible pattern for a block so I reckon this could work if all blocks that have the same pattern are exported as one object/material, similarly to how it is done at the moment.

The Tileset for the above block:

BigPipeRedCTM

Please let me know what you think!

mmdanggg2 commented 6 months ago

I think this would be a great feature to have, and I'm sure it would be possible, but implementing it will probably be quite a difficult task. I wouldn't expect this to be added any time soon.