Question about non-destructively implementing a user-made 1m track model
Electrostasy opened this issue ยท 1 comments
I wanted to try a different track model that is more visually appealing to me personally, but have run into a couple issues that I thought someone here could point me in the right direction.
I made a custom model with the same dimensions as track_1m.obj and track_1m_model.obj in \assets\immersiverailroading\models\block\
, however I could not get it to load in-game via resource packs (tracks show up as default tracks do) and had to drag and drop into the mod .jar file (hence "non-destructively" in the title).
I ensured that the .obj files use the provided .mtl files and that my 128x128 UV map is named prototype_texture.png (otherwise there'd be crashing and other rendering issues), but only curved tracks render properly. Straight tracks are completely invisible, same goes for the straight section of switch tracks, of which the curved sections render properly (toggling them with a lever also reveals more of the curved track).
10m curved tracks of each angle:
Switch track with redstone off:
Switch track with redstone on:
Straight track is invisible (same applies to sloped tracks):
Please look away from the amount of space I'm wasting in my UV map:
Just to be sure I also tried running Minecraft with only Immersive Engineering, Immersive Railroading, TrackAPI and yielded the same results.
Is this currently possible to do, is there a better way, or am I missing something here? Thanks.