Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix snapshots/rendering #9

Open
kitskub opened this issue Aug 29, 2014 · 3 comments
Open

Fix snapshots/rendering #9

kitskub opened this issue Aug 29, 2014 · 3 comments

Comments

@kitskub
Copy link
Contributor

kitskub commented Aug 29, 2014

Right now, FPS is very low (compared to Client). This is caused by two things:

  1. We're generating/displaying a lot more chunks than Client.
  2. Many chunks are missing neighbors when meshing, so extra faces are generated.

2 is probably caused by the snapshot system.
We need to make sure that the order of everything is:
(Load/gen chunks -> snapshot) all chunks in visible range -> mesh

Although, we would still have to worry about what happens when we move: chunks are (should be) remeshed when a neighbor updates. However, this should not cause the chunk itself to "update."

@Wolf480pl
Copy link
Contributor

I'd love to see this done. Too bad I have little understanding how this stuff works in flow-engine.

@kitskub
Copy link
Contributor Author

kitskub commented Sep 4, 2014

Much work on this has been done in https://github.com/flow/flow-engine/tree/clientrefactor

Newly generated chunks are still messed up and need work

@kitskub
Copy link
Contributor Author

kitskub commented Sep 8, 2014

Issue has been visually resolved in: 2e37686

However, I need to look into meshing again. What I fixed (changing the generator) should not have made the chunk meshing/renderer go wacky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants