Spaces:
Paused
Paused
Upload pytorch3d_stub/pytorch3d/renderer/__init__.py with huggingface_hub
Browse files
pytorch3d_stub/pytorch3d/renderer/__init__.py
CHANGED
|
@@ -141,3 +141,56 @@ class NormWeightedCompositor:
|
|
| 141 |
def __init__(self, **kwargs):
|
| 142 |
pass
|
| 143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
def __init__(self, **kwargs):
|
| 142 |
pass
|
| 143 |
|
| 144 |
+
|
| 145 |
+
class TexturesAtlas:
|
| 146 |
+
def __init__(self, atlas=None, **kwargs):
|
| 147 |
+
self.atlas = atlas
|
| 148 |
+
def to(self, device):
|
| 149 |
+
return self
|
| 150 |
+
|
| 151 |
+
class TexturesUV:
|
| 152 |
+
def __init__(self, maps=None, faces_uvs=None, verts_uvs=None, **kwargs):
|
| 153 |
+
self.maps = maps
|
| 154 |
+
self.faces_uvs = faces_uvs
|
| 155 |
+
self.verts_uvs = verts_uvs
|
| 156 |
+
def to(self, device):
|
| 157 |
+
return self
|
| 158 |
+
|
| 159 |
+
class FoVPerspectiveCameras(CamerasBase):
|
| 160 |
+
def __init__(self, **kwargs):
|
| 161 |
+
pass
|
| 162 |
+
def to(self, device):
|
| 163 |
+
return self
|
| 164 |
+
|
| 165 |
+
class FoVOrthographicCameras(CamerasBase):
|
| 166 |
+
def __init__(self, **kwargs):
|
| 167 |
+
pass
|
| 168 |
+
def to(self, device):
|
| 169 |
+
return self
|
| 170 |
+
|
| 171 |
+
class OrthographicCameras(CamerasBase):
|
| 172 |
+
def __init__(self, **kwargs):
|
| 173 |
+
pass
|
| 174 |
+
def to(self, device):
|
| 175 |
+
return self
|
| 176 |
+
|
| 177 |
+
class SoftPhongShader:
|
| 178 |
+
def __init__(self, **kwargs):
|
| 179 |
+
pass
|
| 180 |
+
|
| 181 |
+
class HardPhongShader:
|
| 182 |
+
def __init__(self, **kwargs):
|
| 183 |
+
pass
|
| 184 |
+
|
| 185 |
+
class PointLights:
|
| 186 |
+
def __init__(self, **kwargs):
|
| 187 |
+
pass
|
| 188 |
+
def to(self, device):
|
| 189 |
+
return self
|
| 190 |
+
|
| 191 |
+
class DirectionalLights:
|
| 192 |
+
def __init__(self, **kwargs):
|
| 193 |
+
pass
|
| 194 |
+
def to(self, device):
|
| 195 |
+
return self
|
| 196 |
+
|