MCPcopy Create free account
hub / github.com/RenderKit/embree / renderToFile

Method renderToFile

tutorials/common/tutorial/tutorial.cpp:633–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 4

renderFunction · 0.85
storeImageFunction · 0.85
getISPCCameraMethod · 0.80
resizeFunction · 0.50

Tested by

no test coverage detected