Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: YafaRay rendering plug-in
About the light panel color, maybe you could apply a light_mat material on the mesh (see the end of exportAppearance method)?
My first tests were inconclusive because all the objects in the scene had the 'light_mat' material. By applying it only to opaque light sources, I get this result. You will notice that unlike SunFlow, the YafaRay rendering engine does not take into account the light power for the "glow" effect.
I just released the final version 1.0 of the YafaRay rendering plug-in.
For a first version, this plug-in keeps its promises! In order to finalize the integration of YafaRay with the PhotoVideoRendering plug-in, I still have to bind this rendering engine to the photo panel at points of views and the video panel.
----------------------------------------
EnkoNyito
Singapore
Joined: Jul 4, 2018
Post Count: 113
Status:
Offline
Re: YafaRay rendering plug-in
Thank you for the wonderful work! I love the speed of Yafaray.
First thing I noticed from my very first comparison test, is that the the reflection on the red cabinet surface is missing but I guess it's not a bad thing...
Denmark
Joined: Jul 7, 2013
Post Count: 637
Status:
Offline
Re: YafaRay rendering plug-in
Absolutely a good version. Unfortunately I have hurt my hand, so I haven’t been able to do the tests I wanted. (I am writing this with the wrong hand)
I have made a very fast test and gotten some unexpected results.
I wrote earlier that YafaRay outperformed Sunflow on the speed. I no longer think that is right. I have tried the SPR(v1.9) on some older projects that are quite big and complicated, and I found that Sunflow is A LOT faster. Especially glass, mirrors and glowing surfaces seems to slow YafaRay down.
On SH3D-demo projects, YafaRay is absolutely faster, but as soon as things start to demand more of the renderer, Sunflow can be more than ten times faster. ( 6 hours compared to 29 minutes)
Have a look at this ( small) project file: Boxes.sh3d ( 49 kb).
This is basically a very simple project, containing four boxes, placed 50 cm above a mirror, everything resting upon a white backdrop ( illum 0 ). Boxes from left to right : 1 coloured white, 2 textured with a white texture , 3 same white texture applied to each side, 4 red texture applied to each side.
The renderings:
Default YafaRay = 1 min 30 seconds ( manually timed)
SPR(v1.9) YafaRay = 2 mins 48 seconds ( plus some strange texture effects)
Spr(vi.9) Sunflow = 5 seconds (!)
I will do some more tests when my hand is working again :)
Netherlands
Joined: Sep 26, 2009
Post Count: 4014
Status:
Offline
Re: YafaRay rendering plug-in
Using Cecilia's test file, I get slightly different results.
Tests with a file I shared before, now repeated.
All tests done under Windows 10.
Based on the second test, I prefer the colours of Sunflow, but the reflections from Yafaray. Also, it's surprising that Enko's plug-in takes 30 secs longer for the renders.
Hans
----------------------------------------
Hans
new website - under constuction hansdirkse.info
----------------------------------------
[Edit 1 times,
last edit by hansmex at Feb 19, 2020, 10:55:15 PM]
Norway
Joined: Apr 18, 2014
Post Count: 267
Status:
Offline
Re: YafaRay rendering plug-in
Yafaray is certainly producing some nice results, but the quality is still not at the same level as with the best settings for sunflow, especially regarding the antialiasing. For sunflow there are some extra options so we can get better quality. Will these options be available for yafaray as well, at some point.
Norway
Joined: Apr 18, 2014
Post Count: 267
Status:
Offline
Re: YafaRay rendering plug-in
BTW: I get the same results as Cec when rendering her project on Mac. No texture problems though. On an old Windows 7 PC from 2006 everything renders in 2-3 seconds. So this might be an issue related to Mac only. Anyone else using Mac care to do a test?
France
Joined: Nov 7, 2005
Post Count: 9432
Status:
Offline
Re: YafaRay rendering plug-in
I noticed a similar difference on my MacBook Pro: 25 s with SunFlow rendering engine vs 70 s with YafaRay engine. Maybe it's because of some compilation options of YafaRay, but it's still weird because it depends on the rendered scene.
Enko, the shadow of transparent objects seem to be more accurate with Yafaray, but I wonder what could make the object color change... Could you share your simple scene, please?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: YafaRay rendering plug-in
Enko, the shadow of transparent objects seem to be more accurate with Yafaray, but I wonder what could make the object color change... Could you share your simple scene, please?
Emmanuel, it is mainly the color difference of transparent textures that I was referring to. Here's the test file.
---------------------------------------- transparent texture test.sh3d
(138459 bytes)
(Download count: 137666)