Keywords: multiple scenes

Summary

This demo shows how DIRSIG can combine multiple scene databases at run-time. This feature allows multiple scenes to be tiled together or overlaid in an effort to simplify and streamline scene construction and management. In this case, a modular city is assembled as an 11 x 11 grid of "block sized" elements.

Details

The city site is created by combining 121 instances (11 x 11 grid) of 30 "modular" city building and park sub-scene blocks.

Important Files

This section highlights key files important to the simulation.

Individual Scene Tiles

For the sake of keeping this demo small for distribution purposes, the input geometry and material files for the 30 individual sub-scenes. Instead, the pre-compiled scene HDF files are included in the scenes subfolder.

Note
The raw geometry and material content for these scene is not included in the demo.

Simulation File

The key to this simulation is the simulation file itself, demo.jsim. It assembles the individual city modules into a continuous site model. Rather than attempt to correctly and precisely geolocate each scene tile, the approach here uses an initial scene to serve as the anchor for the others to be positioned relative to. Each scene object in the scene_list adds another scene into the overall site model. The offset variable is used to position each sub-scene relative to the first scene (city4.scene). Each scene is 100 x 100, so the tie points iterate on 100 meter intervals.

    "scene_list" : [
        { "name" : "tile1", "inputs" : "./scenes/city4.scene" },
        { "offset" : "-500,-500,0", "inputs" : "./scenes/tile9.scene" },
        { "offset" : "-500,-400,0", "inputs" : "./scenes/park2.scene" },
        { "offset" : "-500,-300,0", "inputs" : "./scenes/tile4.scene" },
        { "offset" : "-500,-200,0", "inputs" : "./scenes/tile11.scene" },
        { "offset" : "-500,-100,0", "inputs" : "./scenes/tile3.scene" },
        { "offset" : "-500,0,0", "inputs" : "./scenes/tile5.scene" },
        { "offset" : "-500,100,0", "inputs" : "./scenes/park3.scene" },
        { "offset" : "-500,200,0", "inputs" : "./scenes/tile2.scene" },
        { "offset" : "-500,300,0", "inputs" : "./scenes/tile3.scene" },
        { "offset" : "-500,400,0", "inputs" : "./scenes/tile8.scene" },
        { "offset" : "-500,500,0", "inputs" : "./scenes/tile6.scene" },

        { "offset" : "500,-500,0", "inputs" : "./scenes/tile12.scene" },
        { "offset" : "500,-400,0", "inputs" : "./scenes/park2.scene" },
        { "offset" : "500,-300,0", "inputs" : "./scenes/tile8.scene" },
        { "offset" : "500,-200,0", "inputs" : "./scenes/tile8.scene" },
        { "offset" : "500,-100,0", "inputs" : "./scenes/tile8.scene" },
        { "offset" : "500,0,0", "inputs" : "./scenes/tile5.scene" },
        { "offset" : "500,100,0", "inputs" : "./scenes/tile12.scene" },
        { "offset" : "500,200,0", "inputs" : "./scenes/tile5.scene" },
        { "offset" : "500,300,0", "inputs" : "./scenes/tile6.scene" },
        { "offset" : "500,400,0", "inputs" : "./scenes/tile8.scene" },
        { "offset" : "500,500,0", "inputs" : "./scenes/tile1.scene" }
    ],

Setup

This section includes any step-by-step instructions for running and visualizing the simulation.

To run the simulation, perform the following steps:

  1. Run the DIRSIG demo.jsim file

  2. Load the resulting demo.img radiance file in the image viewer.

Results

The output of the simulation is a single radiance image frame of the assembled scene.

demo
Figure 1. Output radiance image of the multi-scene simulation.