Close

Geometry Viewer

The Geometry Viewer lets you view and manipulate 3D objects in the Geometry COMP, Light COMP, Camera COMP and all other 3D Node Viewers, plus in Geometry Viewer Panes (alt+3 in any pane).

Through the right-click menu you can get at viewing options like wireframe (w) and the Display Options (d) like point numbers, normals, grids, axes and more. You can also change your navigation modes.

TIP: It has its own lighting for viewing your 3D scene that is separate from the the light objects you create. To duplicate the default lighting in a geometry viewer, create two Light COMP objects. Translate one to (30, 30, 100) and set its Light Color to (0.9, 0.9, 0.9). Translate the other to (-100, 0, 30) and set its Light Color to (0.3, 0.3, 0.3).

Camera Navigation Modesedit

The geometry viewer has 4 Camera Navigation Modes selectable from the right-click menu in the viewer. For the first 3 modes the camera dolly always moves towards the cursor position, each of these modes differ in the the way they set a pivot. The pivot determines the point in 3D space that the camera tumbles (rotates) around as well as the speed of camera movement i.e. if the pivot point is far away, the camera will move further for each movement of the mouse. The last mode, Camera Mode, moves and pivots from the perspective of the camera and is more similar to the movement possible using a real-world camera (ie pan, tilt, dolly, track, crane), or in a game engine such as Unreal.

CameraNavigationModes.png

Viewport Mode

This standard control scheme always uses the center of the view for the pivot for tumble. Dolly will always move in and out towards the position of the cursor.

  • LMB - tumble around pivot
  • MMB - dolly using MMB-drag or scroll wheel
  • RMB - move left or right (track) and up or down (crane)

Cursor Mode

If the cursor is placed on a piece of geometry, that specific point on the geometry will become the new pivot and will determine the center of rotation for tumbling and the speed of camera movements i.e. if you hold the cursor over a distant piece of geometry and scroll the mouse wheel, it will move quickly towards that point, whereas if you hold it over a closer piece of geometry it would move more slowly. If the cursor is not over a piece of geometry, it uses the center of the view for a pivot at the same distance as the previous pivot (like viewport mode above).

  • LMB - tumble around pivot
  • MMB - move towards or away from the pivot (dolly) using MMB-drag or scroll wheel
  • RMB - move left or right (track) and up or down (crane) perpendicular to the camera direction

Object Mode

The pivot is the center of all geometry in the viewer, or just the selected geometry if the viewer supports selection (see Geometry Pane). If no geometry is present, the origin 0,0,0 is used as the pivot.

  • LMB - tumble around pivot
  • MMB - dolly using MMB-drag or scroll wheel
  • RMB - move left or right (track) and up or down (crane)

Camera Mode

The controls are from the perspective of the camera and the pivot is the camera's position. This is most like camera moves that are possible with a real-world camera, or in a first-person game engine such as Unreal.

  • LMB - look up and down (tilt), or left and right (pan)
  • MMB - move the camera forward or back in the XZ plane (dolly), or look left and right (pan)
  • RMB - move left or right (track) and up or down (crane). NOTE: reversed from other modes above since movement is based on the camera's perspective.

Connection Problems: If you are having trouble with the Spacemouse on macOS, there is a setting under “Privacy & Security” called ‘Input Monitoring’ which could block input from certain devices. It’s worth checking that TouchDesigner is not listed there. Or do an OSX update, which may prompt you to to re-validate the 3Dxware permissions.

3D SpaceMouse Navigation Modesedit

The camera in the geometry viewer can also be controlled using a 3DConnexion SpaceMouse. The SpaceMouse supports full 3D movement in 6 axes (XYZ Translation and XYZ Rotation) and works independently of the mouse cursor. The Geometry viewer supports 3 different navigation modes for the SpaceMouse that are independent from the regular mouse-driven navigation modes. The mode can be selected by right-clicking on the active viewer and choosing a mode from the menu.

Object Mode

Object Mode is the default navigation mode and acts like the SpaceMouse is directly manipulating the geometry in the viewer. For example, nudging the SpaceMouse right will move the geometry to the right in the viewer and tilting the SpaceMouse forward will rotate the geometry away from the camera. Note that the geometry is not actually moving in the scene, but rather the camera is moving around the object in way that makes it feel like you are moving the geometry directly.

Camera Mode

In Camera Mode, the SpaceMouse controls the camera's position and orientation directly rather than the objects. For example, nudging the SpaceMouse forward will move the camera forwards in the scene and twisting the SpaceMouse to the right will turn the camera to the right. This mode generally feels like the reverse of the Object Mode.

Target Camera Mode

This mode is somewhat of a hybrid of the other two camera modes. Twisting the SpaceMouse will rotate (tumble) the camera around the center of the geometry, while pushing the SpaceMouse will directly move the camera.

Display Optionsedit

Right-click on the viewer and select Display Options. (You must be in View state if using the Geometry Viewer in a pane.)

Right-clicking brings up the option menu

  • Display Options - opens a dialog of display options for the geometry viewer. Here you can turn on/off the display of points, normals, uv coordinates etc.
  • Home All - resets the view's orientation down the z-axis and ensures the view includes all geometry.
  • Home Selected - resets the view's orientation down the z-axis and ensures the view includes all selected geometry.
  • Frame All - moves the view to include all geometry without changing the view's orientation.
  • Frame Selected - moves the view to include all selected geometry without changing the view's orientation.
  • Frame C-Plane - moves the view to include the construction plane without changing the view's orientation.
  • Toggle Shaded/Wireframe - toggles the rendering of geometry between shaded and wireframe.
  • Toggle Ortho/Perspective - toggles the view between orthographic view and perspective view.
  • Select Viewport -
  • Perspective Viewport - changes the viewport to a perspective view.
  • Top Viewport - changes the viewport to a top view.
  • Front Viewport - changes the viewport to a front view.
  • Right Viewport - changes the viewport to a side view.

In Node Viewersedit

Node Viewers of 3D object type Components and SOPs are also geometry viewers. These geometry viewers do not include all the toolbars of a Geometry Viewer in a pane, however you can access many viewer options using the right-click menu over the viewer while in Viewer Active mode.

Geometry Component.jpg

In Panesedit

Any Pane can be set to Geometry Viewer using the pane type menu or by using the shortcut alt+3.

Pane Type Menu Geo Viewer.jpg

Geometry Viewer.png


Using the Geometry Viewer Paneedit

Camera and Geometry Picking
edit

GeometryViewerMenuBar.png

  • Camera - MenuCamera.png - Select any camera to view the scene through. You can also manually type in the path to the desire camera in the field to the right.
  • Lock Camera - MenuLock.png - When this lock button is on, the position of the camera being viewed through is locked to the view in the viewer. So tumbling, zooming, or repositioning the view will update the camera's position to keep in sync with the view.
  • Save View to - MenuSaveViewto.png - This takes the current view in the viewer and saves it out to whichever camera is selected from the menu. This updates the camera's position so it is in sync with the current view.
  • Pick - MenuPick.png - This menu lets you select any Object Component in the scene. The field to the right can be used for Pattern Matching to select multiple objects quickly.


Viewer States
edit

GeometryViewerStateBar.png

The Geometry Viewer state bar lets you switch viewer states. Click one of the buttons to switch states, or hold down the state's keyboard shortcut for temporarily switching states. For example, if working in View state, you can temporarily go into Select & Transform state by holding down the "s" key. While holding "s" key, select or transform some geometry, then release the key and you will be back in View state.

  • View - StateMove.png - Tumble, pan, and zoom throughout 3D space.
  • Select & Transform - StateSelect.png - Select and transform geometry.
  • Construction Plane - StateCplane.png - Display and position the construction plane
  • Bones - StateBone.png - Create bones.


Viewer Tools
edit

GeometryViewerOptionsBar.png

  • Display Options - OptionsDisplayOptions.png - Opens the Display Options dialog.
  • Home Button - OptionsHome.png - Homes the view to one of the following views; Front, Right, Top, Y-axis, or X-axis.
  • Camera Perspective - OptionsPerspective.png - Switches the view between perspective and orthographic cameras.
  • Construction Plane - StateCplane.png - When in Construction Plane state toggle the view of the Construction Plane on and off.
  • Shading Options - OptionsShading.png - Switch geometry display between wireframe or shaded modes.
  • Selected Geo Info - OptionsSelectedInfo.png - Displays information for the selected geometry.
  • Viewport Options - OptionsView.png - Select from different viewport layouts.
  • Snapshot - OptionsSnapshot.png - Click with the LMB to take a snapshot of the viewport. Click with the RMB to open snapshot options.
  • Background TOP - OptionsBGTOP.png - Enter the path to a TOP to load an image in the background of the viewport.
  • Background Scale - OptionsScale.png - Adjust the scale of the image loaded in the Background TOP.
  • Snap Options - OptionsSnap.png - Ajusts the viewport's snap options and priority.