JiantaoLin
commited on
Commit
Β·
4df757e
1
Parent(s):
1e5535f
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(
|
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=30, device="cuda"):
|
26 |
if not os.path.exists(input_obj_path):
|
27 |
raise FileNotFoundError(f"Input OBJ file not found: {input_obj_path}")
|
28 |
|