Version 0.7.0
This release brings Implicitron and MeshRasterizerOpenGL. There are builds for PyTorch 1.12.0, but no longer 1.7.x.
Large New Features
- Implicitron, a framework for new-view synthesis via modeling neural-network based representations. See its README for an introduction.
- MeshRasterizerOpenGL, a faster alternative to MeshRasterizer described in Cole et al.. The speedup, which grows with mesh size, is about 20x on a 2M-faces-large mesh. This rasterizer is designed to work with SplatterPhongShader, a new per pixel lighting model. To use it, you must have pycuda with the gl extension enabled, as well as pyopengl.
New features
- You can now choose to ignore the XY flip in cameras’ transform_points_screen commit
- Fragments is now a dataclass with docstring and detach() commit
- SoftDepthShader and HardDepthShader for rendering depth maps commit and commit
- AmbientLights can now be used to render an arbitrary number of channels (not just RGB) commit
Bug fixes
- Fix for loading PLY files with heterogenous faces (e.g. mixture of triangles and quadrilaterals commit
- Pointclouds.num_points_per_cloud now always returns a tensor commit
- Chamfer fix for empty pointclouds commit
For developers
- We are now using black 22.3 or later
- Tests should now be run from the pytorch3d root directory not the tests directory.