Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

LookingGlass seems to break the world a bit when a view is created. #12

Open
Geforce132 opened this issue Aug 3, 2015 · 4 comments
Open

Comments

@Geforce132
Copy link

Whenever I create an IWorldView in the same dimension as the dim. I'm currently in, my world seems to break a bit. Some chunks just refuse to load unless I cleanup the IWorldView, quit the game and restart. You can tell if the world is messed up by looking at two other small little bugs, if you break blocks with an IWorldView present, they seem to drop double the amount of particles they should, and rain particles seems to drop much faster than normal. This seems to happen both if I use the API to create a view, or if I use /lg-viewdim. It's kinda weird looking...

Mods:

  • Forge v10.13.3.1420
  • LookingGlass v0.2.0.00
@Geforce132
Copy link
Author

@XCompWiz Any progress on this issue? I was planning on releasing the new version of my mod, SecurityCraft, that uses LookingGlass sometime this week, and was just wondering if any updates to LookingGlass could possibly be coming? :)

@XCompWiz
Copy link
Owner

Well, LG went open source. You are welcome to help track down the issue. :P
This likely has to do with the alongside worlds being rendered twice. Minecraft's rendering isn't designed for multiple frames per tick, and thus all the update code for rendering is built in. The easiest fix is perhaps expensive: Duplicate the render state. This might require duplicating the world as well, meaning that rendering where you are requires having the chunk data loaded twice. Hopefully that can be avoided.

@Geforce132
Copy link
Author

@XCompWiz Fixed, see #19. :)

@XCompWiz
Copy link
Owner

Recent commit based on your PR might fix this. crosses fingers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants