Tarsier tutorial: Renderer

From CCoWS Wiki
Revision as of 23:58, 20 February 2009 by Fred (Talk | contribs)

Jump to: navigation, search

What is the 'Renderer'?

Strictly speaking, a renderer is any process that produces a visual representation of some data. So a RasterView is a renderer. However, the Renderer in Tarsier conventionally refers to the main 3D renderer that is used to produce most 3D visualizations.

The Renderer draws 3D scenes described by a wide range of data, including multiple rasters, vectors, sites, etc.

Using the Renderer to view some raster data and nothing else

  1. Open Tarsier
  2. Open a new Renderer
    1. Select File --> New --> Data Views --> Render View (if its not on the list, you need to load a DLL)
  3. Load some RasterData into the Renderer. The raster would normally represent elevations, as in topography or bathymetry. Note that this tutorial might not work if the raster's coordinate system is Lat/Lon (like the Kauai example) instead of UTM.
    1. Select the 'Raster' tab
    2. If your RasterData is not yet open within Tarsier:
      1. Select 'Open' on the UseeControl named 'Relief'
      2. Navigate to the RasterData TRA file that you want to open
    3. If your RasterData is already open within Tarsier:
      1. Select the drop-down arrow on the UseeControl named 'Relief'
      2. Select your raster from the list of currently open rasters
  4. Make some Terrain corresponding to the Raster (Unless this RasterData has been rendered before it probably doesn't already have Terrain associated with it).
    1. Click the 'Make' button
    2. Select your RasterData object again, and click OK
    3. When asked 'Please confirm the terrain name and location (or change it)', create a new folder called 'terrain' inside the folder where the raster is, and then save the terrain (TRNTI) with the default name inside that folder.
    4. You might have to wait for it to make the terrain (up to about 30 minutes, but instantaneous if your raster is not huge)
  5. Select the same raster in the 'Raster' UseeControl as you used for the Relief.
    1. You shouldn't need to do this, but since default cameras presently are based on Raster and not Relief, you need to.
  6. Enable the Raster
    1. Click the Check Box at the top-left of the Raster tab
  7. Point the camera at the terrain
    1. Select the 'Cam1' tab
    2. Click one of the three buttons with a picture of a camera (middle-left)
    3. You should see your raster
      1. It might be in wire-frame mode, which you can change by clicking 'Solid Surface' on the 'Econ' tab
  8. Fly around your terrain
    1. Click 'Keys' on the 'Cam1' tab
    2. Type 'm' to select the view vector instead of the movement vector
    3. Use the arrow keys: left, right, up, down
    4. For more advanced flying see Tarsier: Renderer flight controls