mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 22:30:35 +08:00
SplatterBlender
Summary: Splatting shader. See code comments for details. Same API as SoftPhongShader. Reviewed By: jcjohnson Differential Revision: D36354301 fbshipit-source-id: 71ee37f7ff6bb9ce028ba42a65741424a427a92d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1702c85bec
commit
c5a83f46ef
@@ -41,6 +41,7 @@ from pytorch3d.renderer.mesh.shader import (
|
||||
HardPhongShader,
|
||||
SoftPhongShader,
|
||||
SoftSilhouetteShader,
|
||||
SplatterPhongShader,
|
||||
TexturedSoftPhongShader,
|
||||
)
|
||||
from pytorch3d.structures.meshes import (
|
||||
@@ -325,6 +326,7 @@ class TestRenderMeshes(TestCaseMixin, unittest.TestCase):
|
||||
shader_tests = [
|
||||
ShaderTest(HardPhongShader, "phong", "hard_phong"),
|
||||
ShaderTest(SoftPhongShader, "phong", "soft_phong"),
|
||||
ShaderTest(SplatterPhongShader, "phong", "splatter_phong"),
|
||||
ShaderTest(HardGouraudShader, "gouraud", "hard_gouraud"),
|
||||
ShaderTest(HardFlatShader, "flat", "hard_flat"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user