https://github.com/kolodi/OutOfFrustum
Tracking objects and display markers on screen edges when they are out of view
https://github.com/kolodi/OutOfFrustum
camera-frustum heads-up-display hololens mixed-reality unity
Last synced: about 1 year ago
JSON representation
Tracking objects and display markers on screen edges when they are out of view
- Host: GitHub
- URL: https://github.com/kolodi/OutOfFrustum
- Owner: kolodi
- Created: 2019-05-08T14:46:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T08:40:07.000Z (about 7 years ago)
- Last Synced: 2024-08-03T05:19:25.497Z (almost 2 years ago)
- Topics: camera-frustum, heads-up-display, hololens, mixed-reality, unity
- Language: C#
- Homepage:
- Size: 240 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OutOfFrustum
Tracking objects and display markers on screen edges when they are aout of view


Basic and ther simplest method to test objects' visibiliy is using OnBacameVisible and OnBecameUnvisible callbacks, but it has a bunch of limitations. It is related to a single renderer component. Also on Hololens, the actual viewport is narrower than the camera rendering frustum. To resolve these issues there is the second method, it is used in Demo scene. You can track complex objects, all renederes in their hierarchy is included, also visibility checking happens inside custom narrower frustum.