Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
265 Discussions

Screenshot (image) of the GLUT display

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

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

Thanks.

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

Thank you Sven ! Done.....

Reply