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

Block vertexes are missalignied, randomly giggles from camera angle change #24

Closed
maxsupermanhd opened this issue Mar 11, 2021 · 8 comments

Comments

@maxsupermanhd
Copy link
Contributor

Is this supposed to be like that?

@adepierre
Copy link
Owner

Please post detailed description of the problem. There is absolutely no way I can figure out what "like that" means.

@maxsupermanhd
Copy link
Contributor Author

I mean some corners of blocks are missplaced somehow, like up to 0.1 of a block, some textures are missing or glitching out
p

@maxsupermanhd
Copy link
Contributor Author

p

@maxsupermanhd
Copy link
Contributor Author

2021-03-11 19-22-08.mkv.zip
(mkv video zipped)

@adepierre
Copy link
Owner

That sure looks weird. What are your coordinates in the world? This might just be some float imprecision if you're not close to the origin.

Please also remember that this is not a library meant to build custom clients that people can play with.

@maxsupermanhd
Copy link
Contributor Author

maxsupermanhd commented Mar 11, 2021

Well, it's about 380k overworld, maybe it actually, I searched through rendering procedures but did not found any loss or something related to it.

And yes, I'm gonna build my own (I mean not entierly my own ofc but still) playable, full fledged client with all features out of this 😁

@adepierre
Copy link
Owner

Floats only have a 7 digits precision. So if you are at 380 000 in one direction, this kind of behaviour is quite expected. If you go 1M blocks further it will be even worse.

@maxsupermanhd
Copy link
Contributor Author

Any fix to it? Extended floats?

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