Refactored out vis/process-render.
Reusing vis/process-render.