Move rendergeometry to separate file.