Posted July 30, 20178 yr Is it possible to change the texture of Wavefront model with Blockstates? If so, how would I go about doing that? Edited July 30, 20178 yr by SuperHB MobDrops http://www.planetminecraft.com/mod/125-mobdrops/
July 30, 20178 yr Yes it is possible. You can define a texture for your material through a blockstates file just like you'd define a texture for a normal json model. I have an example of that here.
July 30, 20178 yr Author 4 minutes ago, V0idWa1k3r said: Yes it is possible. You can define a texture for your material through a blockstates file just like you'd define a texture for a normal json model. I have an example of that here. Oh wow. Thank you! So I wouldn't need a mtl file anymore? MobDrops http://www.planetminecraft.com/mod/125-mobdrops/
July 30, 20178 yr Just now, SuperHB said: So I wouldn't need a mtl file anymore A mtl file is more than a texture pointer. It contains a "library" of materials(defines different materials for different model parts) and controls all properties of that material. While it is possible to use obj without mtl it is still required by forge to do model setups and baking. So no, you still need an mtl file. I have mine here.
July 30, 20178 yr Author Just now, V0idWa1k3r said: A mtl file is more than a texture pointer. It contains a "library" of materials(defines different materials for different model parts) and controls all properties of that material. While it is possible to use obj without mtl it is still required by forge to do model setups and baking. So no, you still need an mtl file. I have mine here. Alright thank you! MobDrops http://www.planetminecraft.com/mod/125-mobdrops/
July 30, 20178 yr Author Actually, one more question. Is it possible to set an offset/rescale the model through minecraft or do I have to use a 3d modeler to correct these? MobDrops http://www.planetminecraft.com/mod/125-mobdrops/
July 30, 20178 yr Depends. The blockstates file fully controls the rendering of your model - you can apply your transformations there and they will be applied in the game just as any other item. I don't think that you can change the way a block renders in the world with blockstates. Maybe forge's animation system is capable of that - but I am no expert on it.
July 30, 20178 yr Author 2 minutes ago, V0idWa1k3r said: Depends. The blockstates file fully controls the rendering of your model - you can apply your transformations there and they will be applied in the game just as any other item. I don't think that you can change the way a block renders in the world with blockstates. Maybe forge's animation system is capable of that - but I am no expert on it. Alright. Thank you for your help MobDrops http://www.planetminecraft.com/mod/125-mobdrops/
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.