Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{Code Sample} Offscreen rendering using pyrender
Summary: Introduce a code sample to perform offscreen rendering using PyRender. - Use PyRender Scene to setup: - 3D object meshes and poses - Rectilinear cameras corresponding to Aria Glasses camera poses - Hand mesh - Perform offscreen rendering to retrieve COLOR/DEPTH/Segmentation masks - Show how to map the rectilinear image back to the native FishEye camera model (do note that we are loosing some field of view) Example of usage: 1. install deps `pip install pyrender trimesh` 2. Run the code sample `python render_3.py` See the rendered images in the folder Reviewed By: prithvirb Differential Revision: D64411691 fbshipit-source-id: 5c5ab2e42ce6ab9c67c47c9cbe9b3449e8d1cbff
- Loading branch information