Hi there,
I want to use my custom 3D Models I created, but I don't understand how to render and bake custom 3D OBJ Models, or if it is even possible.
Here is what I got so far:
public class BakeHandler {
public BakeHandler() {
OBJLoader.INSTANCE.addDomain(HelicopterMod.MOD_ID);
}
@SubscribeEvent
public void onModelBake(ModelBakeEvent event)
{
try
{
IUnbakedModel model = OBJLoader.INSTANCE.loadModel(new ResourceLocation(HelicopterMod.MOD_ID, "models/entity/helicopter_tris.obj"));
//model.bake(bakery, spriteGetter, sprite, format);
} catch (Exception e)
{
e.printStackTrace();
}
}
}
I simply don't know where to continue now, as I don't find any currently working example or explanation.
Does anyone of you guys know an example I can look at, or a good explanation on how to use OBJ models for entities?
Would appreciate any help

How do you create a multi project work-space in Eclipse?
I want to build a mod that has an optional dependency and a mandatory dependency.
I recently learned basic java code and how to make simple mods with new recipes, tools, blocks, armor, ore gen, that sort of stuff...
Now I want to learn how to use API's and call items from other mods but every time I try to import other mods into my work space I have issues.
How Do I set up a multi project work space?