Skip to content

Scene Editor - Inspector

Overview

Inspector is a versatile visual browser and editor for 3D models. It enables users to:

  • View and manage nodes in the scene graph.
  • Add, move, and edit objects or nodes.
  • Tag Regions of Interest (ROIs).
  • Adjust lighting and starting points.
  • Analyze polygon and texture details to optimize performance.

Opening and Using Inspector

Open Models in Inspector:

  • Click Edit in the Experiment Options editor to open a model.
  • Use Inspector to add objects, set ROIs, and adjust lighting or starting points.
  • Alternatively, open Inspector from Tools in the Vizard IDE or via the Inspector shortcut.

Add New Models:

  • Use File- Open to open a new model

Navigation Controls:

  • Left Mouse Drag: Orbit view.
  • Shift + Left Click: Move view to clicked surface.
  • Right Mouse Drag: Pan.
  • Scroll Wheel: Zoom.
  • Z: Zoom to selected node.

Environment Management

Check Environment Size:

  1. Click the root node in the scene graph (top left).

  2. View dimensions in meters (bottom right).

Node Management

Understanding Nodes:

  • Nodes represent objects or elements in the scene.

  • Group Nodes (red, blue, green): Required for data collection.

  • Transform Nodes: Used for object positioning.

Creating and Managing Nodes:

  1. Right-click a node in the scene graph.

  2. Select Insert Above or Insert Below to create new group/transform nodes.

  3. Rename nodes for clarity.

  4. Copy, paste, or delete nodes as needed.

Adding Objects and ROIs

Add Objects of Interest:

  1. Use File > Add to include objects.
  2. Position/scale objects with transform tools.

Adding Regions of Interest (ROIs):

  1. Add ROIs using File > Add and select RegionOfInterest.osgb.
  2. Use transform tools to adjust ROI size and position.
  3. Name ROIs uniquely.

Set Starting Points:

  • Use File > Add to include SIGHTLAB_STARTING_POINT.
  • Default locations: Resources\scene_objects, Documents\SightLab2\Util_Files\SightLab_Resources.
  • Move/rotate the starting point using transform tools.

Texture and Animation Management

Browsing Textures:

  • View and manage all textures in the scene via the textures pane.
  • Check details like dimensions, memory size, and compression.
  • Adjust material properties such as PBR attributes, diffuse, color, swapping textures, and more

Working with Animations:

  • Manage animations for nodes and avatars.
  • Use playback controls to navigate animations.

Lighting Management

Adding Custom Lights:

  1. Go to Create > Light and select a light type (e.g., Directional Light).
  2. Enable translate or rotate mode to set the light's position and orientation.
  3. Note: The position of a directional light does not affect its output but helps with visualization in Inspector.
  4. Change light color and enable shadows in the properties window.
  5. Rename the light in the scene graph (e.g., "Sun") to access it in Vizard scripts.

Enabling Shadows:

  • In the properties window, check the box for "Shadows" to enable shadow-casting for the light.

Adjusting Ambient Light:

  1. Select the "Scene" root node in the scene graph.
  2. In the properties window, click on the bar next to 'Ambient Light'.
  3. Drag the cursor in the color box to change the ambient light.
  4. Enable "Effects" in the bottom right corner to preview changes.
  5. To store the settings, check "Save Scene Settings" in the properties panel.

Saving Changes:

  • Go to File > Save to save the model with the lighting adjustments.

Inspector Workflow

Duplication:

  • Create an instance (shares memory) or a copy (uses additional memory).

Save Adjusted Models:

  1. Select File > Save As to save modifications.
  2. Overwrite existing files or create new versions.

Tips and Advanced Features

  • Use fullscreen mode (F2) to focus on model navigation.
  • Use the search toolbar (Alt + D) to locate specific nodes or textures.
  • Enable "Peek Mode" to isolate a selected object visually.

For additional details, visit Vizard Documentation or the full SightLab documentation.