Posted November 28, 20159 yr Hey guys, I am working on adding slopes into 1.8 and I want to challenge myself to use the new model system, to allow for easier swapping of shapes. Problem is I can't find a way to load triangles using the built in json loaders. I know there is a way to override the loaders but I would rather not if possible and if not I have no idea how to start writing one. TL;DR How can I create json files with triangle faces? Thanks T
November 29, 20159 yr Triangels are squares with a duplicate corner. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
November 29, 20159 yr Author I understand that a triangle is just a quad with one point repeated. The issue here is, can I create a json model that will produce it, without a custom loader. If so how, if not where to start with the custom loader.
November 29, 20159 yr Author Looks like the best way to do this is use a B3D model, I'll see what I can dig up.
November 29, 20159 yr This is not a full answer, but you could try using generating tools such as Mr Crayfish model Creator and try to build a triangle using its interface, and see what the JSON spits out. I know for certain you can make flat planes and rotate their angles, for example to 45 degrees. http://www.curse.com/users/Lothrazar/projects
November 30, 20159 yr Hi The vanilla JSON can't generate triangles because there is no way to specify two of the four vertices to be the same. I reckon your best bet is to use B3D. BDcubik is apparently a useful tool for that, never used it myself. Mr Crayfish does great stuff so maybe Lothrazar's idea is good too. If you want to go the custom loader route, look at MBE04, MBE05, MBE15 here: (working examples) https://github.com/TheGreyGhost/MinecraftByExample -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.