Print at Dec 16, 2025, 7:53:57 PM View all posts in this thread on one page
Posted by Walter125 at Oct 6, 2023, 11:28:57 AM
Yafaray compilation for linux.
Hi,

I wonder if Yafaray is compiled with "-O3" optimizations ?

Another question: does Yafaray source code need some modifications to be used with SweetHome3D, or I just have to compile it and replace the libraries given with SweetHome3D ?

Posted by Puybaret at Oct 6, 2023, 1:40:53 PM
Re: Yafaray compilation for linux.
I wonder if Yafaray is compiled with "-O3" optimizations ?
This flag is cited in YafaRay build flags but I'm not sure it's actually used (the last time I compiled YafaRay was some time ago). What improvements would it bring?

does Yafaray source code need some modifications to be used with SweetHome3D, or I just have to compile it and replace the libraries given with SweetHome3D ?
As explained in YafarayRenderer class, Sweet Home 3D uses a derived version of libYafaRay 3.5.1.
But it's not too difficult to generate Linux DLLs.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Walter125 at Oct 6, 2023, 3:03:23 PM
Re: Yafaray compilation for linux.
Thanks for reply.

I don't know precisely which optimizations the "-O3" option activates, but it allows some programs to do computations faster. However, it can introduce bugs in some cases, and it increases the size of the compiled program.