Jax's true calling: Ray-Marching renderers on WebGL

(benoit.paris)

45 points | by BenoitP 4 hours ago

4 comments

  • corndoge 1 hour ago
    Moving my thumb across the image causes the ball and cube graphic to disappear to black and then scrolls the page. Firefox on iOS
    • akoboldfrying 59 minutes ago
      Me too, Chrome on Android.

      I like the concept of applying Jax to SDF sphere tracing :)

  • vatsachak 1 hour ago
    Yeah GPU compilers will be used for way more things than AI because parallel = good
  • VHRanger 2 hours ago
    Pytorch is such a maddening mess of half implemented research features in a state of Heisen-deprecation, Jax becomes more appealing to me by the day.
  • dvt 1 hour ago
    > the thing JAX was truly meant for: a graphics renderer

    I mean, just like ray-tracing, SDF (ray-marching) is neat, but basically everything useful is expensive or hard to do (collisions, meshes, texturing etc.). I mean mathy stuff is easier (rotations, unions/intersections, function composition, etc.) but 3D is usually used in either modeling software or video games, which care more about the former than they do the latter.

    • Archit3ch 25 minutes ago
      Games and simulations are typically stateful, I'm not sure the functional purity of JAX is a good fit.

      Also, what's the story for JAX + WebGL when it comes to targeting hardware-accelerated ray tracing?