Jump to content

Recommended Posts

Posted

So I'm playing around with some assets of mine and I'm working on importing a full city into Minecraft via the OBJ loader. Now I've got it work and even got the textures working and everything,

2017-06-23_18_32_13.png.ceb03794570f8b723d7199fb24c9a44d.png

however the issue I have now is if you let the block you place go behind you or out of sight, everything derenders.

fduW9ua.gif

I understand this is a basic thing of Minecraft but I am also aware of the INFINITE_EXTENT_AABB that would force it have a limitless bounding box which would keep it rendered. However after setting up what I believe is the correcting for it, I can't get it work. 

Since it's a decent amount of code to copy and paste here, I've uploaded my current source to GitHub here, https://github.com/Jerry996666/The-World-RCraft-1.11.2. If someone who's better at spotting issues please let me know where my mistakes are, it help me a ton. Thank you for any help!

Posted

The bounding box for file entities only apply if the chunk the tile entity is in is getting rendered. You're looking up which is causing the chunk with the TE in it to be culled.

You're better off splitting the OBJ into peices and rendering those.

Also if it's a static object like this, rendering large amounts every frame is not good.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

...and this is why models larger than 1x1x1 are bad

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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