mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-01-17 03:40:34 +08:00
Test gltf texture without renderer.
Summary: Change the cow gltf loading test to validate the texture values and not to validate the renderer output because it has an unstable pixel. Also a couple of lints. Reviewed By: patricklabatut Differential Revision: D29131260 fbshipit-source-id: 5e11f066a2a638588aacb09776cc842173ef669f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9c09c0d316
commit
31c448a95d
@@ -17,8 +17,8 @@ from common_testing import TestCaseMixin, get_tests_dir, load_rgb_image
|
||||
from pytorch3d.io import save_obj
|
||||
from pytorch3d.renderer.cameras import (
|
||||
FoVPerspectiveCameras,
|
||||
look_at_view_transform,
|
||||
PerspectiveCameras,
|
||||
look_at_view_transform,
|
||||
)
|
||||
from pytorch3d.renderer.lighting import PointLights
|
||||
from pytorch3d.renderer.mesh import (
|
||||
@@ -35,6 +35,7 @@ from pytorch3d.renderer.mesh.textures import TexturesVertex
|
||||
from pytorch3d.structures.meshes import Meshes
|
||||
from pytorch3d.utils import torus
|
||||
|
||||
|
||||
# If DEBUG=True, save out images generated in the tests for debugging.
|
||||
# All saved images have prefix DEBUG_
|
||||
DEBUG = False
|
||||
|
||||
Reference in New Issue
Block a user