Skip to content

Latest commit

 

History

History
81 lines (53 loc) · 2.33 KB

File metadata and controls

81 lines (53 loc) · 2.33 KB

Rendering Functionals

Rendering functionals convert tensor fields and geometric primitives into image buffers. They follow the same stateless functional pattern as the rest of physicsnemo.nn.functional: tensors in, tensors out, with implementation dispatch handled through FunctionSpec.

Isosurface Render

.. autofunction:: physicsnemo.nn.functional.isosurface_render

Visualization

This animation ray-marches a moving sphere isosurface from a scalar field and colors the hit surface with an RGB volume.

Isosurface render animation of a moving sphere

Mesh Raycast

.. autofunction:: physicsnemo.nn.functional.mesh_raycast

Visualization

This animation renders a rotating cube mesh with per-vertex colors.

Mesh raycast animation of a rotating colored cube

Scalar Field To RGBA

.. autofunction:: physicsnemo.nn.functional.scalar_field_to_rgba

Line Integral Convolution

.. autofunction:: physicsnemo.nn.functional.line_integral_convolution

Visualization

This animation shows a zoomed-out center slice through a 3D LIC field computed from a rotating dipole vector field. The LIC texture modulates a jet-colored field-magnitude image after starting from fixed random noise.

Line integral convolution animation of a rotating dipole field

This animation renders a steady 3D dipole LIC field as an RGBA volume with volume_render and overlays a rotating wireframe cube for spatial context.

Three-dimensional line integral convolution volume render with rotating cube

Vector Field To RGBA

.. autofunction:: physicsnemo.nn.functional.vector_field_to_rgba

Volume Render

.. autofunction:: physicsnemo.nn.functional.volume_render

Point Cloud Render

.. autofunction:: physicsnemo.nn.functional.point_cloud_render

Wireframe Render

.. autofunction:: physicsnemo.nn.functional.wireframe_render