Remix.run Logo
dvt 8 hours 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 7 hours ago | parent [-]

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?

nightski 3 hours ago | parent [-]

Maybe you mean mutation? State is inherently a part of functional purity. It's just handled explicitly instead of implicitly.