Rendering is done with pixel-perfect rasterization of the function. Models are only gets converted into a mesh when you're exporting.
This may change in the future, as it's much easier to spin around a mesh – the right strategy is probably a low-res mesh for interactivity, which gets replaced with a pixel-perfect rendering (running in the background until complete).
I wonder if using a generic procedure would work better than redefining + outright. If you opened up Ao and typed (+ 1 1) at the REPL, would you see 2 as the result or a token object?
Details are at http://www.mattkeeter.com/projects/ao/jit.html
Rendering is done with pixel-perfect rasterization of the function. Models are only gets converted into a mesh when you're exporting.
This may change in the future, as it's much easier to spin around a mesh – the right strategy is probably a low-res mesh for interactivity, which gets replaced with a pixel-perfect rendering (running in the background until complete).