Warning, /Fireworks/Geometry/macros/README is written in an unsupported language. File is not indexed.
0001 Expects cmsSimGeom-14.root file in this directory. It is produced by
0002 running 'cmsRun dumpSimGeometry_cfg.py' in the python/ sub-directory.
0003 It can be symlinked here.
0004
0005 To run:
0006 root.exe geom_cms.C
0007 root.exe geom_core_parts.C
0008 root.exe geom_detail_local.C
0009 root.exe geom_detail_global.C
0010
0011
0012 Instructions
0013 ============
0014
0015 Open "Scenes/Geometry Scene" in list-tree widget on left.
0016
0017 Then double-click to browse further.
0018
0019 For top-nodes one can set the depth of displayed geometry (change "VisLevel"
0020 value in object editor below, after selecting the top-node). Be careful,
0021 things can get slow, especially if there is no hardware accelerated GL.
0022
0023 By doulbe clicking on the background of the 3D view one gets controls for the
0024 GL viewer. Clipping planes, guides and lights can be set there.
0025
0026 Several options are available via key-presses -- see "Help on GL Viewer" that
0027 is available from the menu (below "Actions" in 3D window, the thin blue bar
0028 unrolls into menu). The contents is also pasted below.
0029
0030
0031
0032
0033 DIRECT SCENE INTERACTIONS
0034
0035 Press:
0036 w --- wireframe mode
0037 e --- switch between dark / light color-set
0038 r --- filled polygons mode
0039 t --- outline mode
0040 j --- ZOOM in
0041 k --- ZOOM out
0042 Arrow Keys --- PAN (TRUCK) across scene
0043 Home --- reset current camera
0044
0045 LEFT mouse button -- ROTATE (ORBIT) the scene by holding the mouse button and moving
0046 the mouse (perspective camera, needs to be enabled in menu for orthograpic cameras).
0047 By default, the scene will be rotated about its center. To select arbitrary center
0048 bring up the viewer-editor (e.g., shift-click into empty background) and use
0049 'Camera center' controls in the 'Guides' tab.
0050
0051 MIDDLE mouse button or arrow keys -- PAN (TRUCK) the camera.
0052
0053 RIGHT mouse button action depends on camera type:
0054 orthographic -- zoom,
0055 perspective -- move camera forwards / backwards
0056
0057 By pressing Ctrl and Shift keys the mouse precision can be changed:
0058 Shift -- 10 times less precise
0059 Ctrl -- 10 times more precise
0060 Ctrl Shift -- 100 times more precise
0061
0062 Mouse wheel action depends on camera type:
0063 orthographic -- zoom,
0064 perspective -- change field-of-view (focal length)
0065
0066 Double clik will show GUI editor of the viewer (if assigned).
0067
0068 RESET the camera via the button in viewer-editor or Home key.
0069
0070 SELECT a shape with Shift+Left mouse button click.
0071
0072 SELECT the viewer with Shift+Left mouse button click on a free space.
0073
0074 MOVE a selected shape using Shift+Mid mouse drag.
0075
0076 Invoke the CONTEXT menu with Shift+Right mouse click.
0077
0078 Secondary selection and direct render object interaction is initiated
0079 by Alt+Left mouse click (Mod1, actually). Only few classes support this option.
0080 When 'Alt' is taken by window manager, try Alt-Ctrl-Left.
0081
0082 CAMERA
0083
0084 The "Camera" menu is used to select the different projections from
0085 the 3D world onto the 2D viewport. There are three perspective cameras:
0086
0087 Perspective (Floor XOZ)
0088 Perspective (Floor YOZ)
0089 Perspective (Floor XOY)
0090
0091 In each case the floor plane (defined by two axes) is kept level.
0092
0093 There are also three orthographic cameras:
0094
0095 Orthographic (XOY)
0096 Orthographic (XOZ)
0097 Orthographic (ZOY)
0098
0099 In each case the first axis is placed horizontal, the second vertical e.g.
0100 XOY means X horizontal, Y vertical.
0101
0102
0103 SHAPES COLOR AND MATERIAL
0104
0105 The selected shape's color can be modified in the Shapes-Color tabs.
0106 Shape's color is specified by the percentage of red, green, blue light
0107 it reflects. A surface can reflect DIFFUSE, AMBIENT and SPECULAR light.
0108 A surface can also emit light. The EMISSIVE parameter allows to define it.
0109 The surface SHININESS can also be modified.
0110
0111 SHAPES GEOMETRY
0112
0113 The selected shape's location and geometry can be modified in the Shapes-Geom
0114 tabs by entering desired values in respective number entry controls.
0115
0116 SCENE CLIPPING
0117
0118 In the Scene-Clipping tabs select a 'Clip Type': None, Plane, Box
0119
0120 For 'Plane' and 'Box' the lower pane shows the relevant parameters:
0121
0122 Plane: Equation coefficients of form aX + bY + cZ + d = 0
0123 Box: Center X/Y/Z and Length X/Y/Z
0124
0125 For Box checking the 'Show / Edit' checkbox shows the clip box (in light blue)
0126 in viewer. It also attaches the current manipulator to the box - enabling
0127 direct editing in viewer.
0128
0129 MANIPULATORS
0130
0131 A widget attached to the selected object - allowing direct manipulation
0132 of the object with respect to its local axes.
0133
0134 There are three modes, toggled with keys while manipulator is active, that is,
0135 mouse pointer is above it (switches color to yellow):
0136 Mode Widget Component Style Key
0137 ---- ---------------------- ---
0138 Translation Local axes with arrows v
0139 Scale Local axes with boxes x
0140 Rotate Local axes rings c
0141
0142 Each widget has three axis components - red (X), green (Y) and blue (Z).
0143 The component turns yellow, indicating an active state, when the mouse is moved
0144 over it. Left click and drag on the active component to adjust the objects
0145 translation, scale or rotation.
0146 Some objects do not support all manipulations (e.g. clipping planes cannot be
0147 scaled). If a manipulation is not permitted the component it drawn in grey and
0148 cannot be selected/dragged.