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   [ Previous Page | 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 463032 times and has 172 replies Next Thread
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 have done some more testing on YafaRay today.
On some projects it really outperforms Sunflow when it comes to render time, on other projects it's way behind.
It's a bit like going back to the stone-age with the non-resizable render window, especially since YafaRay treats light very differently from Sunflow, and I had to do a lot of quick Q3 renderings to get the light right. And, as Puybaret points out:
YafaRay engine is slower than SunFlow during preparation process because it requires to copy texture images in separate files whereas I had modified SunFlow to make it able to load images directly from ZIP files (like SH3D, SH3T or SH3F files) without copying them in temporary files.

That's one reason why YafaRay performs slower on most of my test projects.

running both rendering engines at the same time can’t be used to compare their performances

Well,I don't quite buy that argument, looking at the head start I was giving YafaRay.
Anyway, I have made a new video, en suite, with a stop watch and a CPU-monitor running:

YafaRay-Test-2

Maybe this can be the reason why YafaRay is slower than Sunflow?



YafaRay is not using more than 32% of my CPU capacity, whereas Sunflow is using 98%.

Just out of curiosity: Why go for another CPU-renderer and not a CPU/GPU-renderer?


Cec
----------------------------------------
[Edit 1 times, last edit by Ceciliabr at Sep 1, 2019, 1:00:20 AM]
[Aug 31, 2019, 11:17:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Mike53
Advanced Member



UK
Joined: Jan 6, 2018
Post Count: 677
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Thought i would give this a try.

Ver. 1.6, set to gloss, all other settings default



and with Yafaray



3 x it crashed when it started the render, 1 it crashed when it completed the render but before it could be saved.
Windows 7 64 bit
[Sep 1, 2019, 12:53:06 AM] 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 
Re: YafaRay rendering plug-in

Hi,

Here are my own tests using cec's project.

1. standard rendering
2. enkonyito's Ver. 1.8 beta2
3. Yafaray's ver 2



No crash for me in this yafaray's second version !

wink
.
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Sep 1, 2019, 6:22: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 
hansmex
Advanced Member
Member's Avatar

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

Test on Demo home #7
A further test under Ubuntu shows that YafaRay uses only one (1) core during the preparation of the rendering (approx 35 seconds).
Once that is done, it uses all 6 cores of my computer for the full 100% during the actual rendering (13-14 minutes).

Test on Cecilia's test file
Testing Cecilia's file, I decided to do a Q1 test run to see if I had the same image as in the other tests. YafaRay behaves VERY STRANGE and shows me a more or less random part of the room in close-up, not the center of the room where the virtual visitor is looking at. Q2 gives the same result.



In Q3 and Q4 YafaRay is lightning fast and delivers an image within one minute.
Interestingly, the processor usage during the preparation phase can be very different when you do two consecutive renders of the same image.





H
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
----------------------------------------
[Edit 1 times, last edit by hansmex at Sep 1, 2019, 9:39:06 AM]
[Sep 1, 2019, 8:58:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Mike53
Advanced Member



UK
Joined: Jan 6, 2018
Post Count: 677
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

found ver. 2



sad
[Sep 1, 2019, 5:27:48 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Now, SH3D crashes at every rendering whatever the scene. (Windows 10 64-bit)

I imported the source code of the plug-in into Eclipse (Projects from Folder or Archive) and added the necessary libraries except for the import javax.jnlp .
I found that SH3D crashes when accessing the createMaterial, createBackground, createTexture, and createLight functions.
----------------------------------------
EnkoNyito
[Sep 1, 2019, 7:17:43 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

I found tonight how to make the plug-in work under Windows with its version 1.0 Beta 3 (running Sweet Home 3D either with the Jar executable, or with the free and paid installer versions).
Actually, I had to rebuild Yafaray with the latest version of MSYS2, and use more recent versions of the DLLs it depends on. I'll try the same rebuild under Linux in the coming days.

YafaRay is not using more than 32% of my CPU capacity, whereas Sunflow is using 98%.
It's strange, it's not what I see on my iMac, where YafaRay and SunFlow use as much CPU power as possible. I wonder where it could come from...

Just out of curiosity: Why go for another CPU-renderer and not a CPU/GPU-renderer?
There are not so much open source candidates that could be tested. From last year study, YafaRay seemed a better candidate even if OSPRay which uses the GPU too seemed interesting too.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Sep 2, 2019, 12:02:58 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

There are not so much open source candidates that could be tested

Did you consider/test this one :
https://www.cycles-renderer.org/about/

Cec
[Sep 2, 2019, 9:03:25 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: 4005
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

@Emmanuel
Congratulations!! Beta 3 now works under Windows 10, 64 bits (on my computer).
In Q1 and Q2, I get the expected image, contrary to what happened under Ubuntu with beta 1.
In Q3 and Q4, I also get the expected image, and about as fast as under Ubuntu.

Under Ubuntu nothing has changed as far as I can see.

H
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
----------------------------------------
[Edit 2 times, last edit by hansmex at Sep 2, 2019, 11:45:11 AM]
[Sep 2, 2019, 11:35:11 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Did you consider/test this one :
https://www.cycles-renderer.org/about/
Cycles was part of the last year study, but its performances didn't seem better than SunFlow.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Sep 2, 2019, 9:47:39 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   [ Previous Page | 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