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

HUGE terrain gen improvement #89

Open
jdonszelmann opened this issue Jul 18, 2017 · 2 comments
Open

HUGE terrain gen improvement #89

jdonszelmann opened this issue Jul 18, 2017 · 2 comments

Comments

@jdonszelmann
Copy link

hey guys, was trying to mod the game so it would use defaul textures and do better terrain gen (with like caves etc) and then i found this in world.py:
self._shown[coords] = self.batch.add( 24, GL_QUADS, self.texture_group[block.identifier], ('v3f/static', vertex_data), ('c3f/static', shade_data), ('t2f/static', texture_data))
this is the drawing of the world.
notice that it says "static". the world changes every frame and it should be "stream". after i changed terrain gen was so quick i couldnt see non-generated chunks anymore.... maybe something to add for ya guys :P

@traverseda
Copy link
Owner

traverseda commented Jul 18, 2017

That looks like a pretty huge thing, yeah.

Would you like to do a pull request for that yourself, or would you like me to set it up?

It also looks like something that https://github.com/fogleman/Minecraft would benefit from. It probably wouldn't be a bad idea to submit a pull request to them as well, from a resume building perspective.

@jdonszelmann
Copy link
Author

i can do it. also im working on an actual user interface (menu, inventory and more blocktypes. may post that somwhere here too some day.

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

No branches or pull requests

2 participants