Learning Null Geodesics for Gravitational Lensing Rendering in General Relativity

Mingyuan Sun, Zheng Fang, Jiaxu Wang, Kunyi Zhang, Qiang Zhang +1 more
7/21/2025
gr-qcastro-ph.IMcs.AI

No official code found. Best implementation: NEU-REAL/GravLensX (25 stars, MIT, last commit 2025-07-25).

Abstract

We present GravLensX, an innovative method for rendering black holes with gravitational lensing effects using neural networks. The methodology involves training neural networks to fit the spacetime around black holes and then employing these trained models to generate the path of light rays affected by gravitational lensing. This enables efficient and scalable simulations of black holes with optically thin accretion disks, significantly decreasing the time required for rendering compared to traditional methods. We validate our approach through extensive rendering of multiple black hole systems with superposed Kerr metric, demonstrating its capability to produce accurate visualizations with significantly $15\times$ reduced computational time. Our findings suggest that neural networks offer a promising alternative for rendering complex astrophysical phenomena, potentially paving a new path to astronomical visualization.

View on arXivView PDF

Code Implementations(1)

NEU-REAL/GravLensXCommunity67%
MIT

[ICCV 2025] Learning Null Geodesics for Gravitational Lensing Rendering in General Relativity

252PythonJul 5, 20251 years agoMIT

Similar Papers

Cite this paper

@article{sun2025learning,
  title  = {Learning Null Geodesics for Gravitational Lensing Rendering in General Relativity},
  author = {Mingyuan Sun and Zheng Fang and Jiaxu Wang and Kunyi Zhang and Qiang Zhang and Renjing Xu},
  year   = {2025},
  eprint = {2507.15775},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.15775v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.15775.svg)](https://codeofpaper.com/paper/2507.15775)

Discussion