MicroCity NotesMicroCity Notes
Notes
  • MicroCity Web
  • MicroCity Desktop

    • 1. MicroCity Introduction
    • 2. Getting Started with MicroCity
    • 3. User Interface
    • 4. Script Writing
  • GitHub

    • MicroCity Desktop Repository
    • MicroCity Web Repository
    • MicroCity Web Online Environment
  • 简体中文
  • English
Notes
  • MicroCity Web
  • MicroCity Desktop

    • 1. MicroCity Introduction
    • 2. Getting Started with MicroCity
    • 3. User Interface
    • 4. Script Writing
  • GitHub

    • MicroCity Desktop Repository
    • MicroCity Web Repository
    • MicroCity Web Online Environment
  • 简体中文
  • English
  • MicroCity Documentation

    • Table of Contents
    • 1. MicroCity Introduction

      • 1.1 What MicroCity can Do
    • 2. Getting Started with MicroCity

      • 2.1 Showing a World Map
      • 2.2 Searching for Countries
    • 3. User Interface

      • 3.1 UI Overview
      • 3.2 Vector Shapes
      • 3.3 Raster Grids
      • 3.4 3D Scenes
      • 3.5 Tables
      • 3.6 Maps and Layers
      • 3.7 Modules
    • 4. Script Writing

      • 4.1 SI Overview
      • 4.2 UI Control
      • 4.3 Shapes and Tables
      • 4.4 Grids
      • 4.5 3D Scenes
      • 4.6 Networks
      • 4.7 Discrete Event Simulations
      • 4.8 Mixed Integer Programming

3.4 3D Scenes

MicroCity 3D Scene (*.m3d) is a data file format to store 3D scenes' information. Popular 3D file formats including 3D Studio Max (*.3ds), Wavefront OBJ (*.obj) and Stereolithography (*.stl) can be loaded as objects in a scene (see below) but not be stored in the .m3d file.

Opening, Creating, Saving and Closing 3D Scenes

Users can click Load button button or File->Scene->Load menu item to open a Scene. Creating new Scene can be done from menu File->Scene->New and fill the pop-up dialog as shown below. After pressing Okay button an item will appear in the Data Tab of the Workspace Panel. Then Scene can be saved or closed through right-click menu:

new scene    scene_menu

Showing and Editing 3D Scenes

Double click a Scene from the Data tab will give you a scene view. Left-mouse-dragging in a scene veiw will rotate the camera and right-mouse-dragging will translate the camera. Double-left-clicking a scene view can select objects and Double-right-clicking a scene view can popup a context menu (shown below). One can add objects, load objects and set objects, etc.. Note that the Rotation in the coordinate system should obey Left-hand rule. The illustration of the coordinate system and an example of the rotation around y-axis is shown below:

object_menu    scene_coordinate

The coordinate used in the position and rotation of an object is relative to its parent object. By default, the parent of a new object is null.

Display Settings

Users can change the background color, reference grid or other display options of a Scene by using Settings Panel.

Last Updated:
Contributors: huuhghhgyg
Prev
3.3 Raster Grids
Next
3.5 Tables