for rendering three dimensional images