Posted February 18, 201510 yr Hello, I'm experiencing with the new Rendering Registry for Forge 1.8 And I'm trying to load a B3D model file generated by Blender using the add-on provided by RainWarrior https://github.com/RainWarrior/B3DExport But the B3DLoader is giving me this error: [XX:XX:XX] [Client thread/ERROR] [FML]: No root mesh in model tests:models/item/Test.b3d and no mesh name in location, skipping Does anyone have a clue on how to fix it? I checked everywhere on github for a mod using this method and apparently no one is using it. I looked at the source and the error seems to come from here: if(!(model.getRoot().getKind() instanceof Mesh)) { FMLLog.severe("No root mesh in model %s and no mesh name in location, skipping", modelLocation); return ModelLoaderRegistry.getMissingModel(); } Here's the code which is loading the model in my proxy: IModel model = ModelLoaderRegistry.getModel(new ResourceLocation(BaseReferences.MODID+":item/Test.b3d")); Any help is appreciated!
September 24, 201510 yr I'm not sure if you still need help but your model needs to have 1 object that is named "mesh" Like this:
June 25, 20169 yr Sorry to resurrect an old thread, but this is the first search result for that error and I think it's good to keep the info in one place. I think the problem is not the name of the mesh, but whether the exported model contains a single object. The B3DLoader expects the root node to be a mesh, but if you export several mesh objects together, you get something like this BB3D NODE name=ROOT NODE name=Body MESH ANIM NODE <bones> NODE name=LeftArm MESH ANIM NODE <bones> <etc> However if you join the objects into one mesh (ctrl+J), you get BB3D NODE name=Body MESH ANIM NODE <bones>
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.