Introduction
ParaView is a powerful open-source scientific visualization application. ManimVTK’s VTK export is specifically designed to integrate seamlessly with ParaView.Download ParaView
Get the latest ParaView version (5.9+ recommended)
Quick Start
1. Export from ManimVTK
2. Open in ParaView
- Launch ParaView
- File → Open
- Navigate to
media/vtk/MyScene/ - Select
MyScene_final.vtporMyScene_final.vtm - Click “Open”
- Click “Apply” in Properties panel
Basic Visualization
Surface Representation
Change how your objects appear: In Properties panel:- Representation: Surface, Wireframe, Points, Surface With Edges
- Coloring: Solid Color, by array data
- Opacity: 0.0 (transparent) to 1.0 (opaque)
Color by Data
If your export includes color data:- In Properties panel, find “Coloring”
- Select “Colors” from dropdown
- Choose color map (Cool to Warm, Viridis, etc.)
- Adjust range in Color Map Editor
Camera Controls
- Left Click + Drag: Rotate
- Middle Click + Drag: Pan
- Scroll Wheel: Zoom
- Right Click + Drag: Zoom
- Click camera icon in toolbar
- Or View → Camera → Reset
Time Series Animation
For exports with--vtk-time-series:
Loading Time Series
- File → Open
- Select the
.pvdfile (not individual frames) - Click “Apply”
Playback Controls
Time toolbar appears at top:- ⏮️ First frame
- ⏪ Previous frame
- ▶️ Play
- ⏸️ Pause
- ⏩ Next frame
- ⏭️ Last frame
- Drag to scrub through frames
- Shows current time value
Animation View
For advanced timeline control:- View → Animation View
- Set duration and frame rate
- Add keyframes for camera movement
- Export animation as video
Filters and Analysis
Common Filters
- Clip
- Slice
- Contour
- Calculator
Cut through your geometry to see inside:
- Select your object
- Filters → Common → Clip
- Adjust plane position and normal
- Click “Apply”
Measuring
Distance Tool:- View → Find Data → Select Points On
- Click two points
- View distance in Information panel
- Select object
- Filters → Alphabetical → Integrate Variables
- View in Spreadsheet View
Scientific Visualization
Scalar Field Visualization
If you’ve attached scalar data (temperature, pressure):- Color by scalar field
- Add color bar: View → Color Map Editor → Show Color Legend
- Apply Contour filter for isosurfaces
- Use Threshold to filter by value range
Vector Field Visualization
For velocity or force fields:- Filters → Common → Glyph
- Set Glyph Type: Arrow
- Orient by vector field
- Scale by magnitude
- Apply
- Filters → Common → Stream Tracer
- Set Vectors: your velocity field
- Choose seed type (Line, Point, etc.)
- Apply
CFD Workflow Example
- Load data: Open your
.pvdtime series - Slice: Create cross-section
- Contour: Show pressure isosurfaces
- Glyph: Display velocity vectors
- Color: By temperature or pressure
- Animate: Play through time steps
Rendering and Export
Screenshots
High-quality screenshots:- Adjust view and size window
- File → Save Screenshot
- Set resolution (e.g., 4096x2160)
- Choose format (PNG recommended)
- Save
Exporting Animation
Save as video:- Set up time series and view
- File → Save Animation
- Choose format:
- AVI: Uncompressed, large
- MP4: Compressed, smaller (requires ffmpeg)
- Image sequence: PNG frames
- Set frame rate and resolution
- Save
- Stereo: For 3D viewing
- Frame Rate: Match source or higher
- Compression: Balance quality/size
Python Export
Export current view to Python script:- Tools → Start Trace
- Perform visualization steps
- Tools → Stop Trace
- Save Python script
- Run with
pvpython script.py
Advanced Features
Python Scripting
Automate ParaView with Python:Batch Processing
Process multiple files:Custom Filters
Create reusable visualization pipelines:- Set up filter pipeline
- Tools → Create Custom Filter
- Name and save
- Access from Filters → Custom
Tips and Tricks
Keyboard Shortcuts
Keyboard Shortcuts
R: Reset cameraSpace: Play/pause animationCtrl + O: Open fileCtrl + S: Save screenshotCtrl + E: Save animation3: Toggle surface with edges
Visibility
Visibility
- Click eye icon to toggle object visibility
- Use Pipeline Browser to manage multiple objects
- Group objects: Select multiple → Right click → Group
Color Maps
Color Maps
Best color maps for different data:
- Sequential: Viridis, Plasma, Inferno
- Diverging: Cool to Warm, Blue to Red
- Rainbow: Use sparingly (can be misleading)
Performance
Performance
For large datasets:
- Use LOD (Level of Detail): Edit → Settings → Render View
- Reduce geometry: Filters → Decimate
- Hide objects not in view
- Use client-server mode for very large data
Example Workflows
Basic Shape Inspection
- Open
ShapeInspection_final.vtm - Apply
- In Pipeline Browser, expand to see each shape
- Toggle visibility to examine individually
- Use “Surface With Edges” to see mesh
3D Surface Analysis
- Open surface
- Apply Calculator filter:
coordsZto create height field - Color by height
- Apply Contour to show level curves
- Adjust camera for best view
Troubleshooting
Object appears black
Object appears black
Cause: No lighting or normalsSolution:
- Apply Generate Surface Normals filter
- Or adjust lighting in Properties
Time series won't play
Time series won't play
Cause: Wrong file openedSolution:
- Must open
.pvdfile, not individual.vtp - Close all and reopen
.pvd
Colors missing
Colors missing
Cause: Color data not in exportSolution:
- Check if colors set in ManimVTK
- Look for “Colors” array in Information panel
- If missing, set in Coloring dropdown to “Solid Color”
Slow performance
Slow performance
Cause: Complex geometry or large dataSolution:
- Use lower quality setting in ParaView
- Apply Decimate filter
- Enable LOD threshold
- Close unused pipeline objects
Resources
ParaView Guide
Official ParaView documentation
ParaView Tutorial
Step-by-step tutorials
ParaView Discourse
Community forum for help
VTK File Formats
VTK format specification
Next Steps
VTK Export Guide
Master VTK file export from ManimVTK
Time Series
Create animated time series
Scientific Examples
See scientific visualization examples
Scalar Fields
Add scientific data to exports

