JiantaoLin
commited on
Commit
Β·
7cad53a
1
Parent(s):
6db9d51
new
Browse files- video_render.py +1 -1
video_render.py
CHANGED
@@ -22,7 +22,7 @@ from pytorch3d.transforms import RotateAxisAngle
|
|
22 |
|
23 |
from shader import MultiOutputShader
|
24 |
|
25 |
-
def render_video_from_obj(input_obj_path, output_video_path, num_frames=60, image_size=512, fps=
|
26 |
if not os.path.exists(input_obj_path):
|
27 |
raise FileNotFoundError(f"Input OBJ file not found: {input_obj_path}")
|
28 |
|
|
|
22 |
|
23 |
from shader import MultiOutputShader
|
24 |
|
25 |
+
def render_video_from_obj(input_obj_path, output_video_path, num_frames=60, image_size=512, fps=15, device="cuda"):
|
26 |
if not os.path.exists(input_obj_path):
|
27 |
raise FileNotFoundError(f"Input OBJ file not found: {input_obj_path}")
|
28 |
|