The SaveRenderMesh shader allows you to capture the actual tesselated geometry that mental ray uses to produce the final render and saves it out as an OBJ file.
This means you can create geometry from sub-division surfaces, displacement maps, particle instances, hair, and geometry shaders.