Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Screenshot (image) of the GLUT display

Proof_K_
Beginner
189 Views

Hi,

Is there a support in embree library to save an image (bmp, jpg, png etc.) of the renderered scene? If yes then how?

Thanks.

0 Kudos
4 Replies
SvenW_Intel
Moderator
189 Views

Yes just use the -o option, e.g. ./render -c cornell_box.ecs -o cornell_box.jpg. For JPG to work you have to install ImageMagick as described on embree.github.com. Under Windows Embree was never tested with ImageMagick. However, under Windows you can export tga and ppm files. 

Proof_K_
Beginner
189 Views

Can you relate an example in c++ as I am doing the application develpment using embree library?

Thanks.

SvenW_Intel
Moderator
189 Views

Please look at the outputMode function in examples/renderer/renderer/renderer.cpp for example code on howto store an image to disk.

Proof_K_
Beginner
189 Views

Thank you Sven ! Done.....

Reply