Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | 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: 87
Posts: 87   Pages: 9   [ 1 2 3 4 5 6 7 8 9 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 20400 times and has 86 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 6933
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 (version 1.0 - 24 MB) able to render images with Yafaray engine, thanks to the new Tools > Create photo with YafaRay menu item.



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 is missing and will be hopefully implemented in a future version. 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 : The link to download the plug-in was updated during its beta test, before its final release on January 31, 2020]
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
----------------------------------------
[Edit 9 times, last edit by Puybaret at Jan 31, 2020, 3:51:24 PM]
[Aug 29, 2019, 12:41:27 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [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    Hidden to Guest [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    Hidden to Guest [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: 551
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: 55
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: 3425
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
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance
----------------------------------------
[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    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

France
Joined: Mar 29, 2014
Post Count: 2131
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
.
----------------------------------------
only 6.2 and nothing else - W10 64b
Asus TUF Z390 , Intel Core i9-9900K (3.6 GHz) , Chipset Z390 Exp, RAM 32 Go DDR4 3000 Mhz, SSD M.2 512 Go + HDD 3 To,
MSI GeForce RTX 2080 8Go
[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: 301
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.2 / Ubuntu 18.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 1800x
[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: 6933
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    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 87   Pages: 9   [ 1 2 3 4 5 6 7 8 9 | 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 2006-2020 eTeks - All rights reserved