Skip to content

Native ray-trace renderer#219

Open
LudwigBoess wants to merge 21 commits into
1.5.0rcfrom
dev/raytrace_renderer
Open

Native ray-trace renderer#219
LudwigBoess wants to merge 21 commits into
1.5.0rcfrom
dev/raytrace_renderer

Conversation

@LudwigBoess

@LudwigBoess LudwigBoess commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

This PR introduces a native entity ray-tracer for on-the-fly rendering.

Ascent has some rendering artefacts that currently can't be fixed, because they are inherent in the VTK-m backend.

This ray-tracer works in 2D/3D, in cartesian and curviliniear, SR and GR. It renders a clean png, without external dependencies, so it's super easy to ship. It uses the pre-allocated bckp fields, so there is minimal memory overhead.

It is compiled in by default, you just need to add some parameters to your toml file. I will write a detailed doc for this.

Things still to-do:

  • Movable camera for shocks, to track the shock front in the frame
  • Field line rendering
  • More versatile axis labels
  • Time label

Here are some example renders for turbulence and the accretion pgen:

N_00004362 Dmag_00001976

@LudwigBoess
LudwigBoess requested a review from haykh June 30, 2026 21:52
@LudwigBoess
LudwigBoess marked this pull request as draft July 1, 2026 19:27
@LudwigBoess LudwigBoess mentioned this pull request Jul 2, 2026
5 tasks
@LudwigBoess
LudwigBoess marked this pull request as ready for review July 14, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant