Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status:
Offline
Re: YafaRay rendering plug-in
@Emmanuel - My pictures are absolutely no criticism to the plugin! In fact I'm happy to have it, even it does not work as expected. But it tells me SH3D is evolving and this is great! I had to present PVR pictures to show the missing ambient on the YafaRay rendering. I only want to show how it turns out on my system and perhaps to help you (or enko) to find bugs or missing or wrong settings or what else it can be. I'm so thankful for your work and I have a big smile in my face because you released this plugin, even if my trailer now has to proof its winter abilities...
----------------------------------------
Pascal
Netherlands
Joined: Sep 26, 2009
Post Count: 4000
Status:
Offline
Re: YafaRay rendering plug-in
@Emmanuel
Following your suggestion, I drew a simple room, with textured floor and walls, and two human figures. As before, SH3D crashed a few seconds after starting YafaRay.
In the video, you can see that YafaRay is using 17 seconds to prepare the rendering process, as the default renderer is using only 9 seconds. With a larger file ( 1.4 GB) it was still preparing when I stopped it after 5 minutes.
I know we are on beta-level, and that there's still lots of work to be done – and from looking at the quality renders in the YafaRay gallery, I think YafaRay can be a very good alternative
Italia
Joined: May 12, 2017
Post Count: 65
Status:
Offline
Re: YafaRay rendering plug-in
...
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. ...
Please let me remark that mine was not a complain or criticism, I know how much work has been done to just make YafaRay render, so I really respect the work! I was just showing a comparation of the lights, because I think YafaRay does something way better than sunflow (PVR or not, in general), but that (probably) with some effort like the one enkonyito put on to sunflow yafaray can perform at top levels!
It takes time, effort, test and feedback to reach that level but I think it can be reached! Although it's released and works, it is stil a beta so bugs and issues are normal, and we are here to help! I'll try changing my scenes and using different lightning to check if I can have perfect renderings!
In the meantime, congratulations for the reached goal, and thank you!
Spain
Joined: Aug 20, 2019
Post Count: 4
Status:
Offline
Re: YafaRay rendering plug-in
I can make the photo if I choose the first and the seconds levels of quality but if I choose the third or the fouth the program shut down without showing any error.
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: YafaRay rendering plug-in
@UbuntuBirdy and ndorigatti, thanks for your encouraging comments. My previous comment was also written to avoid confusion for users not aware of PVR plug-in. So no problem. There’s a little ambient occlusion in virtual visit mode when a texture is used for the sky, like with SunFlow rendering in default creation tool. Otherwise everything in the sun shade would be too dark. My first goal is to try to reproduce current SunFlow renderings with YafaRay (possibly without the defects ;-), then we’ll see how the settings of both rendering engines should evolve after all these years.
@Cec, 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. Therefore, the more textures you have and the larger images you use, the more time it will take to copy them during the preparation. You should rather see a speed gain when you render larger images. By the way, thanks for the video, but unfortunately running both rendering engines at the same time can’t be used to compare their performances because they try to use all the available cores / threads of the computer, and it’s not possible to give them the an equal slice of CPU power.
@Hans, thanks again for your tests. I hope I’ll be able to find soon a solution at least under Windows.
@GnU, the two lowest quality levels work exactly as in the default photo creation tool, i.e. they use OpenGL and fortunately still work.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: YafaRay rendering plug-in
In the last few months, I have been working on implementing the maximum functionality of Sunflow in Sweet Home 3D before it is considered obsolete. According to Yafaray's documentation, it seems this rendering engine has nothing to envy Sunflow. It will take some time to tame it but the first step would be to establish a basic configuration for general use equivalent to Sunflow.
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
Tests of version 1.0beta2. - Quality 3 or 4: After clicking Create, the waiting image spins a few seconds and then SH3D closes automatically for an empty file (not systematic). The rendering runs correctly for demo files or saved projects like those in the gallery.
Yafaray quality 3 is faster than Sunflow while Yafaray quality 4 is a bit slower than Sunflow.
Netherlands
Joined: Sep 26, 2009
Post Count: 4000
Status:
Offline
Re: YafaRay rendering plug-in
Under Windows After reading Enko's message, I tried two homes from the gallery. In both cases the program stops after a little thingy spins for a few seconds.
Under Ubuntu I did some speed tests with example home #7 from the Gallery. For all pictures: size 1200x900 pixels
SH3D Sunflow is the original implementation, not one of Enko's plug-ins. For some reason I forgot to save the rendered images, so I cant offer quality comparisons.
Hans
----------------------------------------
Hans
new website - under constuction hansdirkse.info
----------------------------------------
[Edit 1 times,
last edit by hansmex at Aug 30, 2019, 10:56:20 PM]
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: