LogoLogo
  • Seahaven
    • Seahaven Documentation
      • Set Up Your Account
      • Getting Started
        • Prepare Your Models
          • Name Objects
          • Add Camera Curve to a scene
        • Import 3D Assets
        • Relationship Editor
          • Workflow
          • Relationship
          • Relationship (Array)
          • Relationships
            • Placements
            • Locate
            • Rotate
            • Neighbour
            • Drop
            • Center
            • Scale
            • Align
            • Attach
            • Put
        • Simulation Editor
          • Workflow
          • Scene
            • 3D Asset
            • HDRI Lighting
            • Physical Sun/Sky
            • Ground Plane
            • Interior Scene
            • Room Type
          • Relationships
            • Load Relationships
          • Camera
            • Camera Configuration
            • Animated Track Camera
            • Curve-Based Camera
            • Room-Perimeter Camera
              • Category
            • Room-Based Camera
              • Additional Cameras
            • Position Camera
              • Conical
              • Spherical
              • Cubic
            • Orientation
              • Calculate Area of Interest
              • Point
            • Perspectival Camera Properties
            • Fisheye Camera Properties
          • Manipulators
            • Camera Manipulators
              • Override Camera Target
              • Override Camera Position
              • Near IR (Approximation)
              • Track Camera to Object
                • Camera Path Settings
            • Light Manipulators
              • Randomize HDRI Background
              • Modify Light Strength
              • Place Lights
                • Light Object (Bbox)
                • Light Object (Polar)
            • Material Manipulators
              • Randomize Material Color
              • Randomize Material Properties
              • Swap Materials
                • Import Material
                • Replace Material
                • Weighted Material
            • Delete Objects by Name
            • Filter Objects/Annotations
            • Pose Objects
              • Pose Set
              • Pose Pair
            • Constrain Object
            • Add Particle System
            • Load Object Along Curve
            • Replace
              • View settings
              • Load child object
          • Render Passes
            • RGB Image
              • Compositing
                • Blur
                • Shot Noise
                • Glare
                • Thermal
            • RGB Image (No Shadow)
            • RGB Image (Isolated Foreground)
            • Segmentation Map
            • Thermal Image
            • Depth Pass
            • Normals
            • Binary Segmentation
              • Material-Based Segmentation
              • Compositing-Based Segmentation
          • Output Files
            • COCO Annotations
            • Keypoints
            • Camera Ex/Intrinsics
        • Running Simulation
        • Save and Import
    • Seahaven Tutorials
    • Errors and Alerts
  • Simulation Manager
    • Simulation Manager
  • Simulation API
    • Simulation Structure
      • YAML Export
      • Sample Configuration
  • Management API
    • Python Package
      • Installation
      • Merge Datasets
      • Methods
      • Dataset Analysis
      • Compression Artifacts
      • Domain Matching
      • Credentials
  • API Tutorials
    • Residential Interior Simulation
      • Upload Your Placement Rules
      • Modifying Your Camera
      • Modify Placement Rules
      • Run your Simulation
      • Tutorial Materials
        • Pipeline Configuration
        • Placement Rules
          • bedroom1.yaml
          • bedroom2.yaml
          • livingroom.yaml
          • floorPlan.yaml
Powered by GitBook
On this page
Export as PDF
  1. API Tutorials
  2. Residential Interior Simulation

Modifying Your Camera

PreviousUpload Your Placement RulesNextModify Placement Rules

Last updated 3 years ago

CtrlK

Start this tutorial by loading the pipeline configuration in the "Tutorial Materials" section of this tutorial.

Change Camera Height

The first change we are going to make is to move the camera closer to the floor. In this example, the camera.RoomCamera module has the height set to a range.

In this example, the camera is between 1.2M and 1.8M off the ground.

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

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

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

        "position_type": "corner",

      }

Let's move the range of heights closer to the floor. Set the height between 0.1M and 1.0M off the floor.

"height": [0.1, 1.0]

Next, we will increase the FOV of the camera. Set your FOV to 2.18. This will set your FOV to approximately 125 degrees. The units are in radians.

        "default_cam_param": {
          "fov": 2.18,
        }

Once these changes are complete save your configuration in YAML format.