Skip to main content

3D Visualization Techniques

Effective visualization communicates the content and structure of your data. This tutorial covers advanced rendering techniques, including volume rendering, surface shading, clipping operations, and camera controls for creating publication-quality images.

Estimated time: 30 minutes

Prerequisites:

  • Completed basic tutorials
  • A project with volumes, masks, and/or surfaces

Volume Rendering Concepts

Volume rendering displays 3D data by calculating how light interacts with the entire dataset—not just surfaces. Each voxel contributes to the final image based on its intensity and assigned visual properties.

Key concepts:

  • Transfer Function — Maps intensity values to color and opacity
  • Opacity — How transparent each intensity appears
  • Sampling — How many rays pass through the volume
  • Shading — Lighting calculations for depth perception

Configuring Volume Display

Window/Level Adjustment

The fundamental visualization control:

  1. Navigate to View → Slice Views → Window/Level.
  2. Adjust:
    • Level — Center intensity (brightness)
    • Window — Intensity range (contrast)

Interactive adjustment:

  • Hold Left mouse button and drag in slice views
  • Horizontal: Window | Vertical: Level

Lookup Tables (LUTs)

Apply color mapping to intensity values:

  1. In the Window/Level panel, select a Lookup Table.
  2. Available options include:
    • Grayscale — Standard medical imaging
    • HotMetal — Fire-like warm colors
    • Spectrum — Full spectrum
    • Jet — Blue-cyan-yellow-red

LUTs enhance visualization of:

  • Intensity gradients
  • Analysis results
  • Presentation graphics

Mask 3D Preview

Generate surface previews for quick mask visualization:

  1. Navigate to View → 3D View → Mask 3D Preview.
  2. Select quality level:
QualityDescriptionUse Case
LowFast, coarseQuick exploration
MediumBalancedGeneral review
HighEnhanced detailSpecial applications
OptimalFull resolutionMeasurements, export
  1. Click Mask 3D Preview to generate.
Quality for Measurements

Use Optimal quality when performing measurements on mask previews. Lower quality settings use downsampled data that may introduce geometric error.

Managing Previews

  • Remove All Previews — Clear generated previews to free memory
  • Previews automatically update when masks change — Check Preferences

Surface Representation Modes

Control how surfaces appear in the 3D view:

ModeKeyDescription
SolidSFilled, shaded surfaces
Solid EdgesEFilled with visible triangle edges
WireframeWTriangle edges only
PointsQVertices only

Access from View → 3D View → Surface Representation or use keyboard shortcuts.

Shading Algorithms

Configure lighting calculations:

AlgorithmAppearance
NoneFlat, unlit
FlatPer-face shading
GouraudSmooth vertex interpolation
PhongPer-pixel highlights
PBRPhysically based rendering

Access from View → 3D View → Surface Shading.

Phong provides good quality for most applications. Use PBR for realistic material appearance in presentations.


Lighting Configuration

Proper lighting enhances depth perception and surface detail.

Lighting Inspector

  1. Navigate to View → Camera → Lighting Inspector.
  2. The panel displays configurable lights:
    • Key Light — Primary illumination
    • Fill Light — Softens shadows
    • Back Light — Rim lighting
    • Headlight — Camera-attached light

Light Properties

For each light:

PropertyEffect
IntensityBrightness level
ColorLight tint
PositionLocation relative to scene
TypeDirectional, point, or spot
Lighting for Detail

For examining surface detail, use strong key light from a side angle. For soft presentation images, use balanced fill lighting.


3D Clipping

Reveal internal structures by removing portions of the display.

Enable Clipping

  1. Navigate to View → 3D Clipping → Enable.
  2. The clipping box activates.
  3. Content outside the box is hidden.

Adjust the Clipping Box

  1. Click Show Box to display interactive handles.
  2. Drag face handles to resize along each axis.
  3. Drag edges or corners for multi-axis adjustment.

Clipping Options

OptionEffect
EnableToggle clipping on/off
Show BoxDisplay/hide interactive handles
InvertShow outside instead of inside
ResetReturn to full scene bounds

Clipping Workflow Example

To create a cross-section view:

  1. Enable clipping.
  2. Show the box.
  3. Drag one face to cut through your structure.
  4. Hide the box for clean presentation.
  5. Rotate the view to examine the cross-section.

Camera Controls

Standard Orientations

Quick camera positioning using keyboard shortcuts:

KeyView
XRight (+X)
Shift+XLeft (-X)
YFront (+Y)
Shift+YBack (-Y)
ZTop (+Z)
Shift+ZBottom (-Z)
IIsometric

Or access from View → Camera → Standard Views.

Projection Modes

ModeCharacteristics
PerspectiveObjects appear smaller with distance (realistic)
ParallelObjects maintain size regardless of distance (technical)

Press V to toggle between modes.

Camera Settings

  1. Navigate to View → Camera → Camera Settings → 3D View.
  2. Configure:
    • View angle — Field of view (perspective mode)
    • Clipping range — Near/far rendering limits
    • Focal point — Center of rotation

Center of Rotation

Set a custom rotation center:

  1. Position mouse over the point of interest.
  2. Press C to set as center of rotation.
  3. Subsequent rotations orbit this point.

Object Visibility and Widgets

Object Browser Controls

For each object in the Object Browser:

  • Visibility icon — Show/hide in views
  • Selection — Click to select, affects property panels
  • Expand — Show child objects or properties

Object Widgets

Display visual helpers in the 3D view:

WidgetDescription
OutlineBounding box around objects
Corner OutlineCorner markers only
Slice PlanesWhere 2D views intersect
Axes PlanesReference planes along axes

Access from View → 3D View dropdown menus.


Capturing Images

Screenshots

Capture static images of the current view:

  1. Navigate to File → Save Screenshot.
  2. Select target:
    • Application — Entire window
    • 3D View — 3D viewport only
    • Specific View — Individual view panel
  3. Choose destination (file or clipboard).
  4. Configure:
    • Format — PNG, JPEG, BMP
  5. Click Capture.

Video Recording

Create animations:

  1. Navigate to File → Record Video.
  2. Configure:
    • Target view — Which view to record
    • Video quality — Output dimensions
    • Frame rate — FPS for playback
    • Output directory — Target save directory
  3. Set up animation:
    • Rotation direction — Spin around the object
    • Slice scrolling — Animate through slices
  4. Click Record.

Creating Presentation Views

Multi-Structure Visualization

When displaying multiple structures:

  1. Assign distinct colors to each surface/mask.
  2. Consider opacity:
    • Outer structures: Lower opacity (0.3-0.5)
    • Inner structures: Higher opacity (0.7-1.0)
  3. Use clipping to reveal internal relationships.

Publication-Quality Images

For journal figures or presentations:

  1. Maximize 3D view — Use 3D Only layout.
  2. Set high resolution — Configure screenshot for publication DPI.
  3. Use white/transparent background — Works better in documents.
  4. Apply consistent lighting — Phong or PBR shading.
  5. Remove distracting elements — Hide widgets, use clean representation.

Practical Exercise: Create a Visualization

Part 1: Configure Display

  1. Load a project with a bone mask and soft tissue.
  2. Generate 3D preview for both masks.
  3. Set bone color to white/ivory.
  4. Set soft tissue color to pink with 50% opacity.
  5. Apply Phong shading.

Part 2: Create Views

  1. Use clipping to create a cross-section.
  2. Capture a screenshot.
  3. Switch to isometric view (I key).
  4. Capture another screenshot.
  5. Create a 360° rotation video.

Part 3: Optimize for Export

  1. Maximize the 3D view.
  2. Hide the clipping box.
  3. Set white background.
  4. Capture high-resolution image.

Best Practices

Visualization Goals

PurposeApproach
ExplorationStandard lighting, quick preview
MeasurementOptimal quality, no distortion
PresentationPolished lighting, clean background
PublicationHigh resolution, consistent style

Performance

  • Use lower quality previews during exploration
  • Reduce triangle count for faster rendering
  • Disable widgets when not needed
  • Close unused views to allocate resources

Consistency

  • Document your visualization settings
  • Create presets for repeated workflows
  • Use consistent coloring across related projects

Troubleshooting

Display appears black

  • Check Window/Level settings
  • Verify object visibility in Object Browser
  • Reset the view (press R)

Slow rendering

  • Reduce preview quality
  • Decimate surfaces
  • Hide unnecessary objects

Colors appear wrong

  • Check lookup table selection
  • Verify Window/Level range
  • Review light colors in Lighting Inspector

Next Steps

Continue learning with:


See Also