rendering a geometry