Update util/renderer.py
Browse files- util/renderer.py +1 -1
util/renderer.py
CHANGED
@@ -12,7 +12,7 @@ class Renderer(nn.Module):
|
|
12 |
self.camera_angle_num = camera_angle_num
|
13 |
self.scale = scale
|
14 |
self.geo_type = geo_type
|
15 |
-
self.glctx = dr.RasterizeCudaContext()
|
16 |
|
17 |
if self.geo_type == "flex":
|
18 |
self.flexicubes = FlexiCubesGeometry(grid_res = self.tet_grid_size)
|
|
|
12 |
self.camera_angle_num = camera_angle_num
|
13 |
self.scale = scale
|
14 |
self.geo_type = geo_type
|
15 |
+
# self.glctx = dr.RasterizeCudaContext()
|
16 |
|
17 |
if self.geo_type == "flex":
|
18 |
self.flexicubes = FlexiCubesGeometry(grid_res = self.tet_grid_size)
|