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

ParticleRenderer support bounds and frustum culling #1963

Merged
merged 113 commits into from
Jun 7, 2024

Conversation

JujieX
Copy link
Member

@JujieX JujieX commented Jan 11, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Calculate ParticleRenderer BoundingBox

@JujieX JujieX added this to the 1.2 milestone Jan 11, 2024
@JujieX JujieX requested a review from GuoLei1990 January 11, 2024 08:25
@JujieX JujieX self-assigned this Jan 11, 2024
@cptbtptpbcptdtptp
Copy link
Collaborator

According to the subsequent design of localbounds, this should be better:

image

@JujieX
Copy link
Member Author

JujieX commented Jan 15, 2024

According to the subsequent design of localbounds, this should be better:

image

Currently the result is the local bounds of the renderer.
Each calculation part is correspond to its GPU equivalent on a one-to-one basis.
image

Copy link
Member

@GuoLei1990 GuoLei1990 left a comment

Choose a reason for hiding this comment

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

Add unit tets

@GuoLei1990 GuoLei1990 added the enhancement New feature or request label Jan 22, 2024
@GuoLei1990 GuoLei1990 changed the title Feat: Calculate ParticleRenderer BoundingBox ParticleRenderer support bounds and frustum culling Jun 6, 2024
@GuoLei1990 GuoLei1990 changed the title ParticleRenderer support bounds and frustum culling ParticleRenderer support bounds and frustum culling Jun 7, 2024
@GuoLei1990 GuoLei1990 merged commit 6d0fdd8 into galacean:main Jun 7, 2024
6 checks passed
GuoLei1990 added a commit that referenced this pull request Jun 7, 2024
GuoLei1990 added a commit that referenced this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request particle
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants