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

Translokator spatial grid rendering #114

Merged

Conversation

Kamzik123
Copy link
Collaborator

@Kamzik123 Kamzik123 commented Dec 1, 2024

Changes:

  • Added translokator spatial grid rendering
  • Added bounding box instancing code

@Kamzik123 Kamzik123 changed the title Initial translokator spatial grid rendering code Translokator spatial grid rendering Dec 5, 2024
@@ -573,6 +573,49 @@ private void CompileData()
#endregion encode instance data / build grid
}

public void RebuildGridData()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a chance that some of this code now has overlap with CompileData? Is it worth creating some private util functions to main consistency?


namespace Rendering.Core
{
public class TranslokatorSpatialGrid
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason as to why this doesn't use primitive instancing with the boxes using the primitive batch manager?

@Greavesy1899 Greavesy1899 merged commit 8d6808b into Greavesy1899:master Dec 6, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants