Pipeline Configuration

These are the main configurations you will need to control your simulation pipeline.

Unedited Configuration

This is the unedited configuration file you will use to begin the tutorial. Please edit this file using the text editor of your choice.

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

  },

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

    {
      "module": "generator.Room",
      "config": {
        "multi_room_config" : "/general/lexset/Seahaven3/Users/<YOUR USER ID>/PlacementRules/floorPlan.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/Users/<YOUR USER ID>/PlacementRules/livingroom_coreweave.yaml",
            "bedroom1": "/general/lexset/Seahaven3/Users/<YOUR USER ID>/PlacementRules/bedroom1_coreweave.yaml",
            "bedroom2": "/general/lexset/Seahaven3/Users/<YOUR USER ID>/PlacementRules/bedroom2_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"]

      }
    },

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

        "start_clean": True,
        "use_uuid": True,

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

        "RgbRenderer": {
          "samples": 256,
          "denoiser": "Intel",
          "glossy_bounces": 2,
          "transmission_bounces": 2,
          "volume_bounces": 2
        },


        "InstanceRenderer":{

        },
        
        #COLOR MAP WILL BE CONFIGURED TO YOUR ACCOUNT
        "SemanticRenderer":{
          "color_map": "examples/colormap.json" 
        },

        "DepthRenderer":{
          "format": "png"
        },

        "BoundingBoxWriter":{
          "filter_collections": ["livingroom.placed_furnitures", "bedroom1.placed_furnitures", "bedroom2.placed_furnitures"],
        }

      }
    },

  ]
}

Resulting Configuration

After completing your tutorial this is what your configuration should look like.

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

  },

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

    {
      "module": "generator.Room",
      "config": {
        "multi_room_config" : "/general/lexset/Seahaven3/Users/<YOUR USER ID>/PlacementRules/floorPlan.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/Users/<YOUR USER ID>/PlacementRules/livingroom_coreweave.yaml",
            "bedroom1": "/general/lexset/Seahaven3/Users/<YOUR USER ID>/PlacementRules/bedroom1_coreweave.yaml",
            "bedroom2": "/general/lexset/Seahaven3/Users/<YOUR USER ID>/PlacementRules/bedroom2_coreweave.yaml",
        }

      }
    },

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

        "num": 1,
        "height": [0.1, 1.0],
        "default_cam_param": {
          "fov": 2.18,
        },

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

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

      }
    },

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

        "start_clean": True,
        "use_uuid": True,

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

        "RgbRenderer": {
          "samples": 256,
          "denoiser": "Intel",
          "glossy_bounces": 2,
          "transmission_bounces": 2,
          "volume_bounces": 2
        },


        "InstanceRenderer":{

        },
        
        #COLOR MAP WILL BE CONFIGURED TO YOUR ACCOUNT
        "SemanticRenderer":{
          "color_map": "examples/colormap.json" 
        },

        "DepthRenderer":{
          "format": "png"
        },

        "BoundingBoxWriter":{
          "filter_collections": ["livingroom.placed_furnitures", "bedroom1.placed_furnitures", "bedroom2.placed_furnitures"],
        }

      }
    },

  ]
}

Last updated