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: 173
Posts: 173   Pages: 18   [ 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 442496 times and has 172 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9417
Status: Offline
Reply to this Post  Reply with Quote 
YafaRay rendering plug-in

Hi,

I'm happy to present you the YafaRay Rendering plug-in able to render images with Yafaray engine, thanks to the new Tools > Create photo with YafaRay menu item (see the end of this message for download links).



After the rendering engines performance test made last year, YafaRay library looked like a good candidate to improve the rendering speed at two best quality levels in Sweet Home 3D.
Thus, this plug-in mostly replaces SunFlow engine by YafaRay engine, reusing the same features and look as the existing Create photo dialog box at the moment (both dialog boxes even share the same parameters).
It's able to run under Windows 32 / 64 bit, macOS 64 bit and Linux 32 / 64 bit. Spherical lens was missing in the version 1.0. You'll probably notice also that, compared to SunFlow, the default sky produces a slightly bluer color when a sky texture is not used.

From my tests, this new rendering engine runs twice faster. Not as much faster as the performance test let me hoped, but it's still a good improvement.
From a developer point of view, this plug-in is very close to the existing photo creation tool, with its YafarayPhotoPanel and YafarayRenderer classes close to the PhotoPanel and PhotoRenderer existing classes. This should allow developers (enkonyito?) who know these classes to improve this plug-in if they want, and me to factorize some code in a future version. Parameters available in YafaRay can be quite easily guessed from the XML examples provided in YafaRay downloads. Avoid to touch the native YafarayRenderer.cpp file used as a bridge to YafaRay if you don't know JNI (Java Native Interface), but it shouldn't be necessary.

I'm looking forward to read your feedback about this plug-in smile

Many thanks to David Bluecame from YafaRay team for his help to fix some issues.

[Note: from July 13, 2012, YafaRay renderer is available in Sweet Home 3D 7.0 making this plug-in useful only if you use an older of Sweet Home 3D]

Download links for YafaRay Rendering plug-in:
YafaRay Rendering plug-in 1.4.5 (17 MB) was released on 02/25/2022 to fix crashes which happened with DAE models specifying only transparent color
YafaRay Rendering plug-in 1.4.4 (17 MB) was released on 03/13/2021 to fix shadow lines appearing on flat surfaces, some memory leaks and to support rendering with Sweet Home 3D available in Mac App Store
YafaRay Rendering plug-in 1.4.3 (17 MB) was released on 01/17/2021 to fix light rays that could appear at ceiling borders
YafaRay Rendering plug-in 1.4.2 (17 MB) was released on 01/13/2021 to support also Mac OS X 10.9, 10.11 and 10.12
YafaRay Rendering plug-in 1.4.1 (17 MB) was released on 01/12/2021 with Mac ARM Silicon support
YafaRay Rendering plug-in 1.4 (16 MB) was released on 11/25/2020 to include YafaRay 3.5.1 and fix crashes under Windows
YafaRay Rendering plug-in 1.3.2 (21 MB) was released on 7/29/2020 to fix a launch issue on some macOS configurations
YafaRay Rendering plug-in 1.3.1 (21 MB) was released on 7/22/2020 to fix a launch issue on some macOS configurations
YafaRay Rendering plug-in 1.3 (21 MB) was released on 6/6/2020 with better handling of low memory issues
YafaRay Rendering plug-in 1.2 (21 MB) was released on 5/18/2020 with fisheye lens projection fixed and faster rendering launch delay
YafaRay Rendering plug-in 1.1 (24 MB) was released on 5/8/2020 with additional support for spherical lens
YafaRay Rendering plug-in 1.0 (24 MB) was released on 31/01/2020 after a beta test of a few months
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
----------------------------------------
[Edit 22 times, last edit by Puybaret at Jul 18, 2022, 9:20:21 PM]
[Aug 29, 2019, 12:41:27 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
waleedfahmy
Member
Member's Avatar

Egypt
Joined: Aug 5, 2019
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Thank you Puybaret for great effort ,
downloading and going to try :)
[Aug 29, 2019, 12:52:44 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
waleedfahmy
Member
Member's Avatar

Egypt
Joined: Aug 5, 2019
Post Count: 28
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

SH3d crashes when I try to render using this plugin , ordinary rendering and photo-video rendering plug-ins are working ok .
my system is windows10 64 bit , processor intel core-I5 @1.7 GHz , 4GB ram ,Intel HD Graphics 4400
[Aug 29, 2019, 5:51:03 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Ceciliabr
Advanced Member
Member's Avatar

Denmark
Joined: Jul 7, 2013
Post Count: 635
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

I might be doing something wrong, but it seems the YafaRay does not work properly on a Mac 6.1 running OS High Sierra.

Pressing the Create-button, it just changes colour for a second. Nothing else happens.

Cecilia
[Aug 29, 2019, 9:35:05 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
GnU
Newbie



Spain
Joined: Aug 20, 2019
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

The same for me:

SH3d crashes when I try to render using this plugin, ordinary rendering and photo-video rendering plug-ins are working ok. My system is Windows10 64 bit, Ryzen 1700, 16GB ram, RX580
[Aug 29, 2019, 10:55:21 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
ndorigatti
Member



Italia
Joined: May 12, 2017
Post Count: 65
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

@Ceciliabr: Here works on a MacBook Pro 13 (2017, the one with usb-c) with Mojave

It seems also quite fast.

@Pubayet
I made a test with PVR 1.7 (SweetHome 6.2) Q4 (ambient occlusion)
And one with YafaRay plugin

PVR 1.7
:



YafaRay Plugin
:


I like a lot how Yafaray light goes to the "left" side of the picture, it is really close to what happens in real life, and ambient light is very nice.
On the other side lights allaround seem way better with enkyo plugin, I don't know if it depends with the usage of PVR light panels or it is something other.
In top right the cube light is very nice with enkyo plugin, but behaves bad on YafaRay.

It's very exciting as a new plugin and maybe enkyo can make a PVR-YafaRay plugin that is fast and nice!!!
[Aug 29, 2019, 11:21:43 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 3977
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Great idea!! Thank you very much.

Unfortunately the plug-in crashes on every file I tried.
- - System: Windows Pro 10 64 bits, SH3D 6.2 with 8 GB memory allowance

I'm happy t o report that under Ubuntu the plugin rune just fine.
- - System: Ubuntu 18.04 64 bits, SH3D 6.2 with 2 GB memory allowance (installed from app store)

Does anyone know how I can change the memory allowance under Ubuntu?


Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
----------------------------------------
[Edit 1 times, last edit by hansmex at Aug 29, 2019, 2:55:05 PM]
[Aug 29, 2019, 2:20:22 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
angry Re: YafaRay rendering plug-in

Hi,

Even on my new PC, this plug-in crashes down sh3d software ???

Sh3D disappears when I execute the plug-in… biggrin :
in Q3 or Q4,
with old or new file !
=> except in Q1 and Q2. confused

Not ready yet for everybody. crying
.
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Aug 29, 2019, 5:52:16 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

PVR 1.7


PVR 1.8 Beta


YafaRay


Not what I expected, but yes, it's fast!
...and it safes some serious disk space... laughing
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[Aug 29, 2019, 6:19:07 PM] 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: 9417
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Many thanks for your feedback, even if I hoped it would work better under Windows after all the energy I spent on resolving issues. On my side, the plug-in works with the installer of the free version of Sweet Home 3D under Windows 10, but not with the JAR executable version, the Microsoft Store version or under Windows 8.1. I fear that I pushed too far the ability to load DLLs on the fly under that system. I'll study possible other solutions.
Anyway, I fixed the issue encountered by Cecilia (just a missing DLLs for older macOS versions) and released a Beta 2 available here.

About images posted by UbuntuBirdy and ndorigatti, I'm happy you succeeded to run the plug-in but comparing your results with the ones generated with enkonyito plug-in isn't really fair, since I just tried to adjust YafaRay settings to reproduce images generated by the default Photo creation tool of Sweet Home 3D! But surely, even on that side, there must be some remaining bugs.

To Windows users, could you check if the program fails even with an empty home or some available from the File > New from demo menu item? Thanks smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 29, 2019, 7:32:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 173   Pages: 18   [ 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ 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 2024 Space Mushrooms - All rights reserved