Jump to content

Rendering: chunk culling


18107

Recommended Posts

Background information

I have a mod that renders the game in 360 degrees. With the most recent changes/bug fixes, I have uncovered a new bug.

The mod renders the game 6 times in 6 different directions, then uses a shader to combine all of the images into one.

 

I am using

GLStateManager.rotate(angle, 0, 1, 0);

to rotate the camera.

 

The chunks in the forward view are rendered correctly, but the chunks in other directions are often not rendered.

 

 

 

The Request

Can someone provide the name of the class or method that causes this? I have been unable to duplicate this bug using mcp (without forge).

 

 

 

Resources

The mod [1.10.2]

Source code

 

Note the flickering as chunks are occasionally rendered.

[embed=425,349]<iframe width="560" height="315" src="https://www.youtube.com/embed/lK7bxjbTOv0" frameborder="0" allowfullscreen></iframe>[/embed]

 

Loading the world from different locations with no code changes. Note the inconsistent results.

[embed=425,349]<iframe width="638" height="358" src="https://www.youtube.com/embed/i12LYlt07sI" frameborder="0" allowfullscreen></iframe>[/embed]

 

[embed=425,349]<iframe width="560" height="315" src="https://www.youtube.com/embed/qpn6f1u_NL4" frameborder="0" allowfullscreen></iframe>[/embed]

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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