-
Notifications
You must be signed in to change notification settings - Fork 181
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
ECS: re-implement mesh rendering in database entries #2140
ECS: re-implement mesh rendering in database entries #2140
Commits on Aug 16, 2024
-
Use MeshRenderSystem::render3D as a starting point
- Total duplication of the code there. Will extract soon, if appropriate
Configuration menu - View commit details
-
Copy full SHA for 3a1c9c3 - Browse repository at this point
Copy the full SHA 3a1c9c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d61d6f9 - Browse repository at this point
Copy the full SHA d61d6f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 799236b - Browse repository at this point
Copy the full SHA 799236bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30bb110 - Browse repository at this point
Copy the full SHA 30bb110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 173784e - Browse repository at this point
Copy the full SHA 173784eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 656cb7a - Browse repository at this point
Copy the full SHA 656cb7aView commit details
Commits on Aug 17, 2024
-
The same projection is happening already a few lines above
Configuration menu - View commit details
-
Copy full SHA for 49d5c7e - Browse repository at this point
Copy the full SHA 49d5c7eView commit details -
Group remaining behavior into functions
These functions are somewhat arbitrary, but might be a good starting point for a final form. Providing these functions from rendering.h is still only temporary.
Configuration menu - View commit details
-
Copy full SHA for d7668e5 - Browse repository at this point
Copy the full SHA d7668e5View commit details -
Use overload instead of attempted 'optional'
My reflexes were for optional arguments, but an overload seems more correct.
Configuration menu - View commit details
-
Copy full SHA for ec1ba80 - Browse repository at this point
Copy the full SHA ec1ba80View commit details -
Adjust where we scale and translate
This seems to give a better result for a large variety of different original model scales. E.g. average vertex from 'center' of Atlantis is 30-40 whereas an MP52 is 1ish.
Configuration menu - View commit details
-
Copy full SHA for 6751593 - Browse repository at this point
Copy the full SHA 6751593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57abd52 - Browse repository at this point
Copy the full SHA 57abd52View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 77667c3 - Browse repository at this point
Copy the full SHA 77667c3View commit details -
Pass entity instead of mesh to render view
This isn't necessary to render the mesh, but it will be useful when trying to look up beam emitter and engine emitters to render in debug mode
Configuration menu - View commit details
-
Copy full SHA for 2d0405c - Browse repository at this point
Copy the full SHA 2d0405cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94385c0 - Browse repository at this point
Copy the full SHA 94385c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4abc9f - Browse repository at this point
Copy the full SHA a4abc9fView commit details -
Ensure no change to GL settings from previous
When copying behavior from viewport3D we adopted some behavior from it that doesn't seem necessary for this view
Configuration menu - View commit details
-
Copy full SHA for 756d80b - Browse repository at this point
Copy the full SHA 756d80bView commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e8de738 - Browse repository at this point
Copy the full SHA e8de738View commit details -
Configuration menu - View commit details
-
Copy full SHA for c385337 - Browse repository at this point
Copy the full SHA c385337View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c83569 - Browse repository at this point
Copy the full SHA 8c83569View commit details -
Configuration menu - View commit details
-
Copy full SHA for bce21a5 - Browse repository at this point
Copy the full SHA bce21a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4743c50 - Browse repository at this point
Copy the full SHA 4743c50View commit details
Commits on Aug 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for db134a8 - Browse repository at this point
Copy the full SHA db134a8View commit details