rendering a simple cube