It's not rust, it's a layer of seasoning!
Skillet is a lightweight, deep-fried, rust application for interactive scientific visualization with vtkio and glium.
Compare skillet with ParaView:
Skillet | ParaView |
---|---|
Provide the .vtu
filename as an argument:
cargo run ./res/teapot.vtu
You can try one of the provided .vtu
files in the ./res/
directory.
Equivalently:
cargo build
# or "cargo build --release"
./target/debug/skillet.exe ./res/teapot.vtu
# or "./target/release/skillet.exe ./res/teapot.vtu"
Mouse controls mostly follow the ParaView conventions.
LMB means "left mouse button".
Z pan is similar to scroll zooming.
Cell data arrays, scalars, and tensors cannot be used as a warp basis. Only point data vector arrays are a valid basis.
To turn off warp by vector, continue cycling with w
until all vectors have
been cycled through.
Data array | Skillet support? |
---|---|
Point data | ✔ |
Cell data | ✔ |
Scalars | ✔ |
Vectors | ✔ |
Tensors | ✔ |
Generic | ✔ |
Field attributes | ❌ |
Skillet displays color contours on surfaces. As such, it doesn't make sense to
try to display 0D or 1D cells like VTK_VERTEX
or VTK_LINE
. I might
implement types like triangle strips and quadratic cells if I can get some test
data.
Cell | Skillet support? |
---|---|
Triangle | ✔ |
Quad | ✔ |
Tetra | ✔ |
Hexahedron | ✔ |
Wedge | ✔ |
Pyramid | ✔ |
Vertex cells | ❌ |
Line cells | ❌ |
Triangle strip | ❌ |
Polygon | ❌ |
Pixel | ❌ |
Voxel | ❌ |
Quadratic cells | ❌ |
Only binary/ascii .vtu
files are supported. Most formats can be converted to .vtu
in ParaView like this:
- Filters -> alphabetical -> append dataset -> apply
- File -> save data -> VTK UnstructuredGrid files (*.vtu) -> OK -> data mode binary or ascii
File | Extension | Skillet support? |
---|---|---|
Unstructured grid | .vtu |
✔ |
Image data | .vti |
❌ |
Poly data | .vtp |
❌ |
Rectilinear grid | .vtr |
❌ |
Structured grid | .vts |
❌ |
Parallel files | .*pv* |
❌ |
Legacy files | .vtk |
❌ |
Multiple piece data | .* |
❌ |
Data mode | Skillet support? |
---|---|
Ascii | ✔ |
Binary | ✔ |
Appended | ❌ |
OS | Skillet support? |
---|---|
Windows | ✔ |
Ubuntu | ❌ |
On Ubuntu, the glutin dependency has an issue finding the fontconfig package. Your mileage may vary: https://unix.stackexchange.com/questions/330068/package-fontconfig-not-found-despite-having-installed-libfontconfig1-dev