Posted November 27, 201311 yr Ok. So I finally got my model rendering, using Techne and creating a model that way rather than trying to figure out every vertex and UV point with the addVertexWithUV method. Since it is a circurlar object Techne seemed like the easier way to go (at least with my skill/knowledge level). So, the question now is: I know with the "pure code" approach using the Tessellator approach you can do some things like change lighting values and color without having to have a lot of textures. Is there a way to do this when rendering with a model?
November 27, 201311 yr make a class file and make it compile. (fix all the errors and stuff) Then use this to render the model in your Renderer: private ModelClassName modelVarName; private ResourceLocation textureXPPipe; public RenderXPPipe() { this.textureXPPipe = new ResourceLocation("modname:textures/models/Texturename.png"); this.modelvarName = new ModelClassName(); } to register the model/texture And this to render it: this.modelVarName.render(); You might need to create a custom rendering method in your model: public void render() { AnyModelPart.render(0.0625F); } PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
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.