Yafaray compilation for linux.

This topic has been viewed 2882 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Walter125
Posts: 25
Joined: Mon Sep 11, 2023 12:04 pm

Yafaray compilation for linux.

Post by Walter125 »

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 ?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Yafaray compilation for linux.

Post by Puybaret »

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
Walter125
Posts: 25
Joined: Mon Sep 11, 2023 12:04 pm

Re: Yafaray compilation for linux.

Post by Walter125 »

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.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest