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:
-
Click the root node in the scene graph (top left).
-
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:
-
Right-click a node in the scene graph.
-
Select Insert Above or Insert Below to create new group/transform nodes.
-
Rename nodes for clarity.
-
Copy, paste, or delete nodes as needed.
Adding Objects and ROIs
Add Objects of Interest:
- Use File > Add to include objects.
- Position/scale objects with transform tools.
Adding Regions of Interest (ROIs):
- Add ROIs using File > Add and select
RegionOfInterest.osgb
. - Use transform tools to adjust ROI size and position.
- 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:
- Go to Create > Light and select a light type (e.g., Directional Light).
- Enable translate or rotate mode to set the light's position and orientation.
- Note: The position of a directional light does not affect its output but helps with visualization in Inspector.
- Change light color and enable shadows in the properties window.
- 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:
- Select the "Scene" root node in the scene graph.
- In the properties window, click on the bar next to 'Ambient Light'.
- Drag the cursor in the color box to change the ambient light.
- Enable "Effects" in the bottom right corner to preview changes.
- 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:
- Select File > Save As to save modifications.
- 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.