mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 23:30:35 +08:00
MeshRasterizerOpenGL import fixes
Summary: Only import it if you ask for it. Reviewed By: kjchalup Differential Revision: D38327167 fbshipit-source-id: 3f05231f26eda582a63afc71b669996342b0c6f9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5bf6d532f7
commit
3b7ab22d10
@@ -15,7 +15,6 @@ from pytorch3d.renderer import (
|
||||
FoVPerspectiveCameras,
|
||||
look_at_view_transform,
|
||||
MeshRasterizer,
|
||||
MeshRasterizerOpenGL,
|
||||
OrthographicCameras,
|
||||
PerspectiveCameras,
|
||||
PointsRasterizationSettings,
|
||||
@@ -27,6 +26,7 @@ from pytorch3d.renderer.opengl.rasterizer_opengl import (
|
||||
_check_raster_settings,
|
||||
_convert_meshes_to_gl_ndc,
|
||||
_parse_and_verify_image_size,
|
||||
MeshRasterizerOpenGL,
|
||||
)
|
||||
from pytorch3d.structures import Pointclouds
|
||||
from pytorch3d.structures.meshes import Meshes
|
||||
|
||||
Reference in New Issue
Block a user