modularize volume renderer;