Skip to content

Native ray-trace renderer - #219

Draft
LudwigBoess wants to merge 25 commits into
1.5.0rcfrom
dev/raytrace_renderer
Draft

Native ray-trace renderer#219
LudwigBoess wants to merge 25 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
  • Planetarium dome rendering
    • 2D
    • 3D

Here are some example renders for turbulence pgen:

N_00004362 Blines_00000442

The accretion pgen:

Dmag_00001976

The shock pgen:

density_00061755 N_00014961

And full-dome projections for planetariums:

N_00007453

@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
@LudwigBoess
LudwigBoess marked this pull request as draft July 27, 2026 19:24
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