Expand description
Visualization API for Python interop.
Provides Python-friendly types for rendering, camera control, scene management, stress visualization, streamline tracing, and debug overlays.
Structs§
- Bloom
Params - Bloom post-processing parameters.
- PyCamera
- 3D camera with orbit, pan, zoom controls.
- PyColormap
- A colormap that maps scalar values in [0, 1] to RGBA colors.
- PyDebug
Overlay - Debug overlay manager for visualizing physics primitives.
- PyLight
- A light source in the scene.
- PyMaterial
- Surface material properties for mesh rendering.
- PyMesh
Renderer - GPU-ready mesh data with material and optional per-vertex scalar field.
- PyParticle
Renderer - Renderer for particle systems using billboard or instanced geometry.
- PyPost
Processor - Post-processing pipeline configuration.
- PyScene
Graph - Hierarchical scene graph managing nodes, meshes, particles and lights.
- PyScene
Node - A transform node in the scene hierarchy.
- PyStreamline
Tracer - Streamline tracer using RK4 integration through a 3D velocity field.
- PyStress
Visualizer - Stress field visualizer providing principal direction glyphs and Mohr circle data.
- PyTransfer
Function - Transfer function mapping scalar densities to RGBA for volume rendering.
- PyVolume
Renderer - Volume renderer for 3D scalar fields.
- RayMarch
Settings - Settings for ray-marching volume rendering.
- Ssao
Params - Screen-space ambient occlusion parameters.
- Streamline
- Result of streamline tracing.
- Stress
Tensor - A 3×3 symmetric stress tensor stored as [s11, s22, s33, s12, s13, s23].
- Stress
VisOutput - Output from the stress visualizer for a single tensor.
- Transfer
Point - A control point in a transfer function (scalar → RGBA).
Enums§
- Colormap
Kind - Named colormap for scalar field visualization.
- Debug
Primitive - A single debug primitive drawn as an overlay.
- Tone
Mapping - Tone mapping operator selection.
Functions§
- compute_
normals_ from_ mesh - Compute smooth normals from a triangle mesh.
- generate_
box_ mesh - Generate a box (cuboid) mesh centered at the origin.
- generate_
sphere_ mesh - Generate a UV sphere mesh.
- hsv_
to_ rgb - Convert HSV color to RGB.