render a sample in renderer along with passing model