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

64 bit rendering #17

Open
CornLizard opened this issue Apr 6, 2021 · 1 comment
Open

64 bit rendering #17

CornLizard opened this issue Apr 6, 2021 · 1 comment

Comments

@CornLizard
Copy link

CornLizard commented Apr 6, 2021

The engine has 64 bit physics and 64 bit coordinates. Is there plans to add 64 bit rendering? I understand that 64 bit rendering can be slower but there is no point of having high precision physics and coordinates if you cant go more then 10000 units away from center. Unless there is some rendering origin point. At 100 000 units away from center everything starts vibrating terribly.

Just to clarify I want 64 bit precision all around.

@IvanEfimov
Copy link
Member

Thanks for the question.

We are planning to use relative camera coordinates. Before sending data to GPU need to add offset to all object positions. In fact the camera position will always {0,0,0}. The feature is planned, but can't tell the date when it implemented. It is the fast method, 32-bits.

You can find "!!!!double" in the code where need to apply camera offset. Technically to add 'bool RelativeCameraRendering' to the rendering pipeline component.

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