Efficiently modify light of the same scene multiple time
Author: KhanhNgoDuyCreated Mar 22, 2026Updated Mar 22, 2026
Labelsquestion
Hi, I have successfully created an indoor dataset with
OUTPUT_FOLDER="outputs/mvs_indoors_lights_off"
NUM_SCENES=1
CONCURRENT_JOBS=3
python -m infinigen.datagen.manage_jobs --output_folder outputs/mvs_indoors --num_scenes $NUM_SCENES \
--pipeline_configs local_256GB.gin monocular.gin blender_gt.gin indoor_background_configs.gin cuda_terrain.gin \
--configs singleroom.gin multiview_stereo.gin \
--specific_seed 0 \
--pipeline_overrides get_cmd.driver_script='infinigen_examples.generate_indoors' iterate_scene_tasks.n_camera_rigs=3 manage_datagen_jobs.num_concurrent="$CONCURRENT_JOBS" \
--overrides compose_indoors.restrict_single_supported_roomtype=True camera.spawn_camera_rigs.n_camera_rigs=3 compose_indoors.terrain_enabled=FalseThe generate_indoors.py file shows that multiple stages need (including the turn_off_light stage) to be run to create the 3D file.
Now that I want to generate data of a same scene, but under different lightings (e.g., only 1 light source is turned on at a time for each frame), we should retain the results of all other stages, and only change the turn_off_light stage (assuming that the code to handle lighting is in here).
What would be an efficient way to do this?
Source: princeton-vl/infinigen