This library adds a BEO (Byte Encoded Object) Model Parser to the Immersive Vehicles (also known as Minecraft Transport Simulator) Mod.
It hooks into the partially existing system in IV that allows to parse models from different formats.
BEO files can be exported from models made in FMT (Fex's Modelling Toolbox). You can also use FMT to quick-convert your existing pack with .obj models to .beo models.
Some advantages of the beo format:
- far smaller relative size to obj (unzipped)
- parsing directly from byte stream instead of parsing the strings in an obj file line per line
- not a human readable format
Conversion instructions if you want to convert your existing pack:
- Install FMT version 3
- Run it at least once to make it generate necessary files.
- Go to settings and set under
exporter-bobthe normal mode to 1 or 2
mode1exports normals per each vertex
mode2exports 1 normal per each face - Open commandline/terminal and run
java -jar FMT.jar jar-to-beo <path-to-jar-here> - This process may take a bit depending on your pack's size.
- FMT will create a new file suffixed with
beoin the name.
You can now use it instead of your original pack file.
Do not forget to mark this library as dependency if you're going to use beo models.
Feel free to contact me (discord is fastest) if you run into issues!
