Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello everyone,

i'm pretty new to minecraftmodding. I currently working on some MultiblockStructures. Since I would like to have multiple scaling of the same structure (2x1x2, 3x1x3, ...), i figured it would be best to use the TileEntitySpecialRenderer to render a .obj and scale it with a parameter of my TileEntity. I'd have a couple of Slave Blocks and one Baseblock. The Slaveblocks don't get rendered at all and the base model gets a offset to the center of the structure and the scale, as mentioned. So far so good.

Everything works fine, except for one litte flaw.

 

Since the base block is in the middle of the structure and the view does only include the edges of the upscaled model, it gets completly clipped out, because the base block can't be seen anymore.

 

Is there a way to extend the ?renderingbox? of the block somehow?

 

I don't know what it could be called and srsly I don't know why this is even happening. I did some OpenGL coding before and usually the program doesn't need to care to carve some not seen objects out of the scene, so every face gets rendered, if it is in the viewport.

 

I hope you get what my problem is. I'd appreciate your help.

 

  • Author

Well, precise answer. Thank you, sir. Worked like charm.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.