Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 384 times and has 2 replies Next Thread
Walter125
Member




Joined: Sep 11, 2023
Post Count: 25
Status: Offline
Reply to this Post  Reply with Quote 
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 ?
[Oct 6, 2023, 11:28:57 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9182
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Oct 6, 2023, 1:40:53 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Walter125
Member




Joined: Sep 11, 2023
Post Count: 25
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Oct 6, 2023, 3:03:23 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved