Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
262 Discussions

Screenshot (image) of the GLUT display

Proof_K_
Beginner
110 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
110 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
110 Views

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

Thanks.

SvenW_Intel
Moderator
110 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
110 Views

Thank you Sven ! Done.....

Reply