View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide

4dcities executable

Downloads:

Standard (GTK) Version: 4dcities.tar.gz
OpenGL Version (for local machines): 4dcitiesGL.tar.gz

Use the Standard (GTK) Version if you are working remotely on the thunderbirds, but if you are working in our lab, try the faster OpenGL version. (It is likely the OpenGL version will even work remotely – if you feel adventurous please try it and let us know.)

Instructions:

  1. Be sure to have correctly set up your environment variables needed by ipp, as described in Setting Up.
  2. Download the executable above, then use "gunzip" and "tar -xvf" to extract it.
  3. In the directory from which you plan to run 4dcities.exe, create a symbolic link to our data directory:
     ln -s /net/hp223/borg/data/ data 
  4. Download the .mdl file that has been assigned to you: mdl files for all
  5. Run the executable with your testSet##.mdl file as an argument:
     ./4dcities.exe testSet##.mdl 
  6. Align some of your images – see detailed interface instructions for each view below, and labeled Pictures of the 12 Buildings.

Tips:

Camera Viewer

Click-drag cameras to change their (x,y) coordinates, right-click-drag cameras to change the yaw angle. Click-drag anywhere else to move around the map, use menus and buttons to zoom in and out.

ViewSingle4dcities

Adjust camera parameters with either the Camera menu, the corresponding buttons, or the associated key commands (listed to the right of the menu commands, and subject to change in the future):

Focal Length: control-[+/-]
Translation: control-[keypad keys] (x=1/3 y=2/0 z=+/enter)
Rotation: control-[keypad keys] (yaw=4/6 pitch=8/5 roll=7/9)

Toggle Wireframe Mode: control-w
Next/Prev Image: control-[< / >]