| 631 | } |
| 632 | |
| 633 | void TutorialApplication::renderToFile(const FileName& fileName) |
| 634 | { |
| 635 | resize(width,height); |
| 636 | ISPCCamera ispccamera = camera.getISPCCamera(width,height); |
| 637 | initRayStats(); |
| 638 | |
| 639 | for (unsigned int i=0; i<numFrames; i++) |
| 640 | render(pixels,width,height,render_time,ispccamera); |
| 641 | |
| 642 | Ref<Image> image = new Image4uc(width, height, (Col4uc*)pixels); |
| 643 | storeImage(image, fileName); |
| 644 | } |
| 645 | |
| 646 | void TutorialApplication::compareToReferenceImage(const FileName& fileName) |
| 647 | { |
nothing calls this directly
no test coverage detected