Sample Configuration
This simulation uses a PlacementHandler module to populate a ground plane with screws and outputs RGB images with corresponding COCO annotations.

{
"version": 3,
"global":
{
"use_single_uuid": True,
"all":
{
"temp_dir": "/seahaven_temp",
"assets_folder": "/general/lexset/seahaven3.0/assets",
"output_dir": "",
},
},
"modules":
[
{
"module": "main.Initializer",
"config":
{
"compute_device_type": "OPTIX",
"resolution_x": 512,
"resolution_y": 512,
"use_cycles_experimental": False,
"raytrace_samples": 64,
"img_file_format": "PNG",
"img_color_mode": "RGB",
"img_color_depth": 8,
"img_jpeg_quality": 100,
"dynamic_bvh": True,
},
},
{
"module": "generator.PlaneGenerator",
"config":
{
"name": "background.ground_plane",
"size": 10,
"is_shadow_catcher": True,
},
},
{
"module": "lighting.HdriLoader",
"config":
{
"local_folder": "/general/lexset/hdris/categories/Indoor",
"flatten_hdri": True,
"hdri_height": 2,
"hdri_size": 10.0,
"strength": [1, 1],
"hdri_saturation": [1, 1],
"rotation": [0, 360],
},
},
{
"module": "placement.PlacementHandler",
"config":
{
"multi_room_labels":
{
"background": "/general/lexset/Seahaven3/Users/1/PlacementRules/DropScrewsToFloor.yaml",
},
},
},
{
"module": "camera.CameraSampler",
"config":
{
"cameras": [],
"cam_poses":
[
{
"number_of_samples": 1,
"location":
{
"provider": "sampler.Uniform3d",
"max": [0.15, 0.15, 0.5],
"min": [-0.15, -0.15, 0.4],
},
"rotation":
{
"format": "look_at",
"value": { "provider": "getter.POI" },
"inplane_rot":
{
"provider": "sampler.Value",
"type": "float",
"min": -0.1,
"max": 0.1,
},
},
"fov": 1.3,
},
],
},
},
{
"module": "renderer.RgbRenderer",
"config": { "denoiser": "Intel", "key_render": "rgb" },
},
{
"module": "writer.CocoAnnotationsWriter",
"config": {}
},
{
"module": "writer.DatasetWriter",
"config": {}
},
],
}
Last updated