Sample Configuration

{
  "version": 2,
  "global": {
    "all": {
      "temp_dir": "/seahaven_temp",
      "assets_folder": "/general/lexset/seahaven3.0/assets", # default {temp_dir}/assets
    },

  },

  "modules": [
    {
      "module": "main.Initializer",
      "config": {}
    },

    {
      "module": "generator.Room",
      "config": { 
        "multi_room_config" : "/general/lexset/seahaven3.0/multiroom/layouts/3.yaml",

        "RoomTextureLoader":{
          "textures": [
            {
              "type": "Floor", 
              "material": "Any",
            },
            {
              "type": "Wall",
              "material": "Drywall",
              "weight": 0.25
            },
            {
              "type": "Wall",
              "material": "Bricks",
              "weight": 0.25
            },
            {
              "type": "Wall",
              "material": "Concrete",
              "weight": 0.25
            },
            {
              "type": "Wall",
              "material": "Wallpaper",
              "weight": 0.25
            },
            
            {
              "type": "Moulding",
              "material": "Any"
            },
            {
              "type": "Ceiling",
              "material": "Any"
            },
            { 
              "type": "Others",
              "rename": "Lexset_Window",
              "material": "Any"
            },
            { 
              "type": "Others",
              "rename": "Lexset_Door",
              "material": "Any"
            },
            { 
              "type": "Others",
              "rename": "Lexset_Handle",
              "material": "Any"
            },
          ]
        },

        "RoomLightPlacer": {
          "use_IES_light": True,
          "preset": "grid",
          "intensity": [1.5, 2],
          "grid_size": 1.5,
        },

      }
    },

    {
      "module": "lighting.HdriLoader",
      "config": {
        "local_folder": "/general/lexset/hdris"
      }
    },

    {
      "module": "placement.PlacementHandler",
      "config": {
        "multi_room_labels": { 
            "livingroom": "/general/lexset/seahaven3.0/multiroom/labels/livingroom_coreweave.yaml",
            "bedroom": "/general/lexset/seahaven3.0/multiroom/labels/bedroom2_coreweave.yaml",
            "corridor": "/general/lexset/seahaven3.0/multiroom/labels/corridor_coreweave.yaml",

        }

      }
    },

    {
      "module": "camera.RoomCamera",
      "config": {

        "num": 1,
        "height": [1.2, 1.8],
        "default_cam_param": {
          "fov": 1.232202,
        },

        "proximity_checks": {
          "min": 1
        },

        "position_type": "corner",
        "room_name": ["livingroom", "corridor", "bedroom"]

      }
    },

    {
      "module": "renderer.MultiRenderer",
      "config": {

        "start_clean": True,
        "use_uuid": True,
        "output_dir": "output",

        "resolution_x": 1920,
        "resolution_y": 1080,

        "RgbRenderer": {
          "samples": 256,
          "denoiser": "Intel",
          "glossy_bounces": 2,
          "transmission_bounces": 2,
          "volume_bounces": 2,
          "output_dir": "output/rgb",
        },

        "InstanceRenderer":{
          "output_dir": "output/instance",
        },

        "SemanticRenderer":{
          "color_map": "examples/colormap.json",
          "output_dir": "output/semantic",
        },

        "DepthRenderer":{
          "format": "png",
          "output_dir": "output/depth",
        },

        "BoundingBoxWriter":{
          "filter_collections": ["livingroom.placed_furnitures", "bedroom.placed_furnitures", "corridor.placed_furnitures"],
          "output_dir": "output/bounding_box",
        }

      }
    },

  ]
}

Last updated