Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Frustum culling #55

Open
FacoBackup opened this issue Oct 5, 2022 · 0 comments
Open

Frustum culling #55

FacoBackup opened this issue Oct 5, 2022 · 0 comments
Assignees
Labels
New Feature New Feature

Comments

@FacoBackup
Copy link
Contributor

FacoBackup commented Oct 5, 2022

SRC 1

SRC 2

First implementation with CPU thread

Basic idea

  1. Have a buffer containing all the entity transformations (Could be same as instancing)
  2. Have a buffer linking transformation offset with mesh (index X=offset index X+1 = mesh limit offset)
  3. Have a buffer containing all mesh (min max) limits (6 indices per mesh)
  4. Add buffer to entity that will indicate if such is culled or not
  5. Simple sphere -> frustum test
  • Set buffer to 1 or 0 depending on if is culled or not
@FacoBackup FacoBackup self-assigned this Oct 5, 2022
@FacoBackup FacoBackup added Enhancement Enhancement New Feature New Feature labels Oct 5, 2022
@FacoBackup FacoBackup added this to the NEXT milestone Oct 5, 2022
@FacoBackup FacoBackup moved this to Low priority in Development Jan 9, 2023
@FacoBackup FacoBackup moved this from Low priority to High priority in Development Jan 17, 2023
@FacoBackup FacoBackup moved this from High priority to Low priority in Development Feb 2, 2023
@FacoBackup FacoBackup moved this from Low priority to Medium priority in Development Feb 12, 2023
@FacoBackup FacoBackup moved this from Medium priority to Low priority in Development Jun 17, 2023
@FacoBackup FacoBackup removed the Enhancement Enhancement label Jun 17, 2023
@FacoBackup FacoBackup moved this from 📘 Backlog to High priority in Development Jul 8, 2023
@FacoBackup FacoBackup removed this from the NEXT milestone Jul 8, 2023
@FacoBackup FacoBackup moved this from High priority to ✅ TODO in Development Jul 10, 2023
@FacoBackup FacoBackup moved this from ✅ TODO to 📘 Backlog in Development Jul 10, 2023
@FacoBackup FacoBackup moved this from 📘 Backlog to High priority in Development Jul 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
New Feature New Feature
Projects
Status: High priority
Development

No branches or pull requests

1 participant