Posted May 26, 20178 yr Hey guys, so i need some help with rendering some stuff in my GUI. So my GUI looks like this: https://gyazo.com/f53e95ac6741f05e8dd2c41c4e89e9a1 what my goal is, is to render a block model in the center black area and have it spinning. I should be able to manage getting it spinning but i cant seem to figure out how to render the block like that with custom dimensions.
May 26, 20178 yr Define 'custom dimensions'. If you just want to scale your model use GlStateManager::scale. If you want the rendered block to be 3d - it already is, guis just disable lighting when rendering items so it looks flat. You can render a block/item model using RenderItem::renderItem. Use the overloaded method that suits your needs.
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.