Open EternalBlueFlame opened 6 years ago
This sounds like something that could be relatively easily implemented as a plugin. The next Blockbench version will have extended support for interface customisation and I could add an interface for render modifications.
There is also an alternative json
format for TMT models, (which I do call JTMT
).
Example.
Example 2.
bump
If this is not a direction you wish to take the tool I understand, but I wanted to make the suggestion anyway, just in case.
Since SMP Toolbox has long gone out of support from it's developer, and has never had any form of multiplatform support, there's plenty of room for this tool to pick up where they left off. A few mods still actively make use of this render as well. The ones I know of, aside from flans, are Traincraft and Fexcraft, additionally, both of those mods have their own, actively updated, spin-off of the render, with extended features beyond the original flans core. https://github.com/EternalBlueFlame/Trains-In-Motion/tree/master/src/main/java/fexcraft/tmt/slim, Traincraft's upcoming rewrite https://github.com/Fexcraft/FCL/tree/1.12.2/src/main/java/net/fexcraft/mod/lib/tmt, Fexcraft
You can find the modeler SMP Toolbox here: https://www.minecraft-smp.de/index.php/toolbox-2-0
The whole thing originated here I believe: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1272395-1-2-5-you-know-what-time-it-is-its-garycxjk-time
Things that would require change/addition to the blockbench editor:
New "cube" types i - Shapebox: allows individual customization of each vertex (corner) on the cube. ii - Trapezoid: uses the same concept as shapebox but controls are simplified to define a single side and how much to move in or out all 4 corners of that side. iii - FlexBox: essentially the same as Trapezoid except that you can control each facing individually, for example only moving out the north end of the top side. iv - FlexTrapezoid: it's got some added features to FlexBox that I can't find the words to elaborate on, it's something you'd have to use the tool to understand. v - Shape3D: a 3+ sided polygon that allows you to define the number of sides and their positions in a 2d fashion, alongside an extrusion amount for making it 3d. It also has the standard position, offset, rotation, and texture mapping data of a normal cube.
Misc functionality i - ability to mirror, and flip the new "cube" types.
New export types i - .mtb: an archive format containing a config text, the model geometry data, and the texture .png file, used only by the editor. ii - .java: Flans vehicles, this variant specifies parts and vehicle type, used by the game. iii - .java: Flans bullets model, a much simpler model format that retains the same general features without all the extra specification for parts or vehicle type, used by the game.
Features beyond SMP Toolbox i - Support for decimals in the dimensions, the tmt render supports it fully, but the editor never has. ii - Support for optional face culling, some variants of the render do it, others don't. https://www.khronos.org/opengl/wiki/Face_Culling iii - Support for adding the boxName to the geometry, toolbox never did that, always bothered me, admittedly this one is a bit selfish of a request as Traincraft uses them as identifiers for the animation process.