Implement mesh cache and scene graph creation