infinibench
infinibench copied to clipboard
Missing submodules and trajectory video pipeline bugs
InfiniBench quickstart is not reproducible / several bugs in scene -> trajectory -> video pipeline
I tried to run the advertised Text -> Scene -> Video -> QA quickstart on Linux with Blender 4.2 and found multiple issues.
1. Missing required submodules / packages
The checkout failed because these modules were missing:
infinigen.OcMesherinfinigen.infinigen_gpl
Even for indoor generation with terrain disabled, infinigen/terrain/core.py imports infinigen.OcMesher.ocmesher at
import time, so the pipeline crashes before runtime config can disable terrain.
Expected: README should document required submodules, or the code should avoid importing terrain-only dependencies when terrain is disabled.
2. gin.parse_config_files_and_bindings receives Path objects
In infinigen/core/init.py, gin config loading failed unless config paths were converted to strings.
Local fix:
gin.parse_config_files_and_bindings([str(config) for config in configs], ...)
Expected: config loading should work with the paths produced by the codebase.
### 3. Blender headless run crashes on bpy.ops.object.mode_set
In infinigen_examples/trajectory_optimizer.py, batch trajectory can crash in background/headless Blender:
bpy.ops.object.mode_set(mode="OBJECT")
with:
Operator bpy.ops.object.mode_set.poll() Cannot edit hidden object
This should be guarded or made non-fatal.
### 4. --headless-safe silently disables video rendering
The trajectory CLI documents --headless-safe, but internally it sets:
batch_no_render=args.batch_no_render or args.headless_safe
So using --headless-safe prevents rendering entirely. This is confusing because the quickstart expects a trajectory video.
Expected: headless-safe should not imply no-render, or the docs should clearly say it only generates metadata.
### 5. Batch video render ignores --batch-resolution
The batch renderer uses CLI --batch-resolution for segmentation/offscreen checks, but final animation rendering was
hardcoded to 1920x1080 and 64 Cycles samples. This makes quick verification very slow and memory-heavy.
Expected: final animation render should respect CLI resolution/sample settings.
### 6. --batch-video-name is only a placeholder
The CLI exposes:
--batch-video-name trajectory_video.mp4
but the trajectory script only writes PNG frames. It does not encode trajectory_video.mp4. The quickstart says a video is
produced, but this does not happen unless an external ffmpeg/imageio step is added.
### 7. Trajectory depends on a doorfactory object
The batch trajectory starts from an object whose name contains doorfactory. If the scene has no matching object, it fails:
Unable to locate a doorfactory object inside the scene.
There should be a fallback start point, e.g. room centroid / nearest navigable boundary point.
### Result
After patching locally, I was able to generate a real indoor scene.blend and render trajectory PNG frames, but the
documented quickstart did not work out of the box.