Denmark
Joined: Jul 7, 2013
Post Count: 635
Status:
Offline
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:
Netherlands
Joined: Sep 26, 2009
Post Count: 4005
Status:
Offline
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]
Joined: May 28, 2015
Post Count: 607
Status:
Offline
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
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
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
Netherlands
Joined: Sep 26, 2009
Post Count: 4005
Status:
Offline
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]
Cycles was part of the last year study, but its performances didn't seem better than SunFlow.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator