Spaces:
Paused
Paused
Upload pytorch3d_stub/pytorch3d/renderer/__init__.py with huggingface_hub
Browse files
pytorch3d_stub/pytorch3d/renderer/__init__.py
CHANGED
|
@@ -106,3 +106,38 @@ class TexturesVertex:
|
|
| 106 |
class HeterogeneousRayBundle:
|
| 107 |
"""Stub for HeterogeneousRayBundle (not used in inference)."""
|
| 108 |
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
class HeterogeneousRayBundle:
|
| 107 |
"""Stub for HeterogeneousRayBundle (not used in inference)."""
|
| 108 |
pass
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
class RayBundle:
|
| 112 |
+
"""Stub for RayBundle (not used in inference)."""
|
| 113 |
+
def __init__(self, origins=None, directions=None, lengths=None, xys=None, **kwargs):
|
| 114 |
+
self.origins = origins
|
| 115 |
+
self.directions = directions
|
| 116 |
+
self.lengths = lengths
|
| 117 |
+
self.xys = xys
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
class PointsRasterizationSettings:
|
| 121 |
+
def __init__(self, **kwargs):
|
| 122 |
+
pass
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
class PointsRenderer:
|
| 126 |
+
def __init__(self, **kwargs):
|
| 127 |
+
pass
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
class PointsRasterizer:
|
| 131 |
+
def __init__(self, **kwargs):
|
| 132 |
+
pass
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
class AlphaCompositor:
|
| 136 |
+
def __init__(self, **kwargs):
|
| 137 |
+
pass
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
class NormWeightedCompositor:
|
| 141 |
+
def __init__(self, **kwargs):
|
| 142 |
+
pass
|
| 143 |
+
|