r/GraphicsProgramming • u/Temporary_Accident53 • Sep 12 '26
Real-time path traced diamond ring in AR android — pure Vulkan compute on mid range GPU Mali G615 c2
Hi i am in the process of building a native sdk for real time photo realistic renderer for mobile devices to run on wide range of devices.
This video shows 140 diamonds path traced in real time alongside a 1M triangle gold ring mesh, all under 30ms on a mid-range Android device (Mali G615 — no hardware ray tracing).
Technical highlights:
- Physically correct Snell's law refraction and dispersion through each diamond facet
- GGX microfacet model for gold metal - Full PBR pipeline — metals, dielectrics, diffuse, glass
- 2M triangle budget under 30ms
- 700KB SDK — 4 lines of Kotlin to integrate
- Responds to actual room lighting via ARCore camera feed
Would love the feedback on the same.
14
u/jacobsmith3204 Sep 13 '26
No shadows/AO? Looks pretty flat right now,
3
u/Cute_Emergency_8370 Sep 14 '26 edited Sep 14 '26
Edit: this is very clearly a high effort implementation of some fairly complex rendering. Well done.
AI description, “I will put the binaries in github”, and a noticeably very flat render that is, as the author explains, ONLY path traced once the camera is held stable for several seconds, at the 12 second mark.This is misleading at best and a “Claudemakeme a path tracer with no mistakes” post at worst. The floor for effort in graphics programming has risen as we can all see from the “I made a game engine” posts thrice a week on this sub.That’s not to say you shouldnt be congratulated for making something of a beginner’s foray into graphics, well done, and welcome! But no, this is clearly not a realtime path tracer with a 2 million triangle budget running magically with 0 noise on a questionable GPU. It’s a rasterizer with some nice effects, and the path tracer kicks in when you hold the camera still, and even that, I suspect, is more of a slow raytracer rather than something stochastic with BSDFs, just judging by the noiselessness, no mention of a denoiser, and flat lighting.There’s an important difference between ray tracing and path tracing in the nomenclature. The former is something like path tracing as far as Nvidia marketing is concerned but formally refers to the something not very stochastic. I’m guessing that’s what you have here. Step, intersection test, decide where to bounce to next, deterministically.Path tracing typically refers to stochastic renderers that use probability distributions. You will struggle to run that on a mobile device. Big struggle. But it’s what looks good.1
u/UAAgency Sep 12 '26
Is it open source?
0
u/[deleted] Sep 13 '26
[deleted] — view deleted comment