DOC: render surface fuction