NeoAxis / NeoAxisEngine

A versatile real-time platform for making 3D, 2D games and apps.
https://www.neoaxis.com/
Other
180 stars 38 forks source link

64 bit rendering #17

Open CornLizard opened 3 years ago

CornLizard commented 3 years ago

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 commented 3 years ago

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.