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

Support other frustum shapes #239

Open
tonynajjar opened this issue Jul 27, 2022 · 2 comments
Open

Support other frustum shapes #239

tonynajjar opened this issue Jul 27, 2022 · 2 comments

Comments

@tonynajjar
Copy link
Contributor

The Kinect Azure is commonly used as depth camera and its frustum is not rectangular, it's either circular or an hexagonal depending on the mode. https://docs.microsoft.com/en-us/azure/kinect-dk/hardware-specification#depth-camera-supported-operating-modes

It would be nice to support other shapes than rectangular

@SteveMacenski
Copy link
Owner

That it mighty interesting indeed. The same logic as used in the depth camera frustum model using the 6 planes would work for hexagonal ones as well (just now with 8 planes). I'd be happy to merge something if a contribution was made to support that.

Circular is a bit easier, that would just be checking a radius and 2 planes (or even if being that simple, just range)

@tonynajjar
Copy link
Contributor Author

We were almost going to give a shot implementing it but realized that gazebo/OGRE also doesn't support other frustum shapes (looks like they are really rare). We instead went with clipping the circular frustum to a rectangular so this is low prio for us.

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

No branches or pull requests

2 participants