Naiten Posted July 13, 2013 Share Posted July 13, 2013 Any time i try to render, i get «already tessellating» on modelMy.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F); even if the whole render method is just public boolean renderWorldBlock(IBlockAccess world, int i, int j, int k, Block block, int modelId, RenderBlocks renderer){ if(modelId == this.renderStuffId){ modelMy.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F); return true; } Any ideas? I do NOT want TE, because it consumes more resources, if my memory doesn't fail me. Quote If i helped you, don't forget pressing "Thank You" button. Thanks for your time. Link to comment Share on other sites More sharing options...
awger Posted July 13, 2013 Share Posted July 13, 2013 I've seen that error before, not sure what the problem was. Check your tessellator.startDrawing() and tessellator.draw() calls, they should match up like GL11.glPushMatrix() and GL11.glPopMatrix(). Quote Link to comment Share on other sites More sharing options...
Naiten Posted July 14, 2013 Author Share Posted July 14, 2013 I've seen that error before, not sure what the problem was. Check your tessellator.startDrawing() and tessellator.draw() calls, they should match up like GL11.glPushMatrix() and GL11.glPopMatrix(). public boolean renderWorldBlock(IBlockAccess world, int i, int j, int k, Block block, int modelId, RenderBlocks renderer){ if(modelId == this.renderStuffId){ modelMy.render((Entity)null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F); return true; } There are none of those calls in my code, and if i comment modelMy.render() game works fine... Quote If i helped you, don't forget pressing "Thank You" button. Thanks for your time. Link to comment Share on other sites More sharing options...
xgravebornx Posted July 14, 2013 Share Posted July 14, 2013 Not sure if this helps, but this is how I render my model as a block. I'm still having a slight directional issue but this works. https://github.com/x...eEntity-EXAMPLE Quote Link to comment Share on other sites More sharing options...
Flenix Posted July 14, 2013 Share Posted July 14, 2013 Not sure if this helps, but this is how I render my model as a block. I'm still having a slight directional issue but this works. https://github.com/x...eEntity-EXAMPLE Your link doesn't work, but from what I can see of it it's using a TileEntity? Quote http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats Link to comment Share on other sites More sharing options...
xgravebornx Posted July 14, 2013 Share Posted July 14, 2013 https://github.com/xgravebornx/TileEntity-EXAMPLE hmm wonder why it didn't work Quote Link to comment Share on other sites More sharing options...
Flenix Posted July 14, 2013 Share Posted July 14, 2013 That link works But, Nait did say no tile entities, yours uses a tile entity Quote http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats Link to comment Share on other sites More sharing options...
Recommended Posts
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.