France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: YafaRay rendering plug-in
The version 1.4.3 fixes an issue reported here by gregoryx about light rays that could appear at ceiling borders. We experienced a similar issue in the scene used for Sweet Home 3D 6.3 where without some tricks, the scene let appear some unwanted clear lines at the ceiling like in the following image.
You'll see that this adjustment gives an image with a little more contrast (see the cactus at bottom right for example).
Note that this adjustment is still not perfect, and you might still get some lighted pixels. For example, the issue which appeared like in the following image with the version 1.4.2 of the plug-in:
will now appear like this at the 3rd quality level:
and like this at the highest quality level:
I hope you'll still agree it's much better and workable now.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: YafaRay rendering plug-in
As the YafaRay site is inaccessible, have you been given any information about the adv_auto_shadow_bias_enabled parameter? When its value is false, it causes black outlines on the walls.
----------------------------------------
EnkoNyito
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: YafaRay rendering plug-in
To fix the bug described in my previous message, David Bluecame recommended to try setting adv_auto_min_raydist_enabled or adv_auto_shadow_bias_enabled parameters to true and play with the values of adv_min_raydist_value and adv_shadow_bias_value. Changing adv_min_raydist_value didn't have some effect but adv_shadow_bias_value did, the reason why I published the version 1.4.3 (there was only little feedback about it and I'm not sure it's the perfect solution). Try to set adv_shadow_bias_value with a float or double value, not a boolean value. The fastest way to try some YafaRay parameters and get their type is to look at a XML YafaRay example like this one: bval is for boolean values, fval for float or double values, ival for integer values, sval for strings.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[Edit 1 times,
last edit by Puybaret at Jan 25, 2021, 9:38:39 AM]
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: YafaRay rendering plug-in
By following this method I got the same results as you and I found that the shadow_bias parameter takes precedence over min_raydist. There may be another parameter that comes into account because for the same values, the rendering is different when the auto mode is enabled for shadow_bias.
----------------------------------------
EnkoNyito
Joined: Jul 20, 2020
Post Count: 12
Status:
Offline
Re: YafaRay rendering plug-in
I've been using Yafaray since last summer, and overall I've had a good experience. However, I have three lingering issues, and I wondered if I'm just clueless on using the software properly (quite possible), or if they are the result of bugs.
Note: I typically use Yafaray at Level 4, with Photon, Lanczos and Shinydiffusemat, but I have seen the same issues with every setting I've tried.
1) First, I use some mantle clock furniture objects, and somehow whenever I render them with Yafaray, the clock face is missing, like this:
For reference, with SunFlow, they render properly, like this:
2) Secondly, the lamps (from SH3D default furniture set) are lighting incorrectly; the light "shines through," even when the lighting is set at a low percentage intensity. Like in the following example (lamp set at 7%):
3) Finaly, when using the Multiple photo rendering (v.2.1) plug-in, there seems to be some kind of memory management issue. The memory used by SH3D keeps getting larger with each render, usually leading to a crash when it goes above 200 GB or so, which is about 4-5 renders on a .sh3d file of about 1.75 GB. I can live with restarting the app every 4 renders, it's not a big deal, but I thought maybe it could be useful to report the problem here.
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: YafaRay rendering plug-in
@GhyslainB
I've been using Yafaray since last summer, and overall I've had a good experience. However, I have three lingering issues, and I wondered if I'm just clueless on using the software properly (quite possible), or if they are the result of bugs.
Note: I typically use Yafaray at Level 4, with Photon, Lanczos and Shinydiffusemat, but I have seen the same issues with every setting I've tried.
1) First, I use some mantle clock furniture objects, and somehow whenever I render them with Yafaray, the clock face is missing,
Could you provide the link where to download this clock?
2) Secondly, the lamps (from SH3D default furniture set) are lighting incorrectly; the light "shines through," even when the lighting is set at a low percentage intensity.
This usually happens during indirect rendering (path tracing, photon mapping or sppm) with the YafaRay engine. It seems that the light source diffuses through the object making the faces of the mesh visible.
3) Finaly, when using the Multiple photo rendering (v.2.1) plug-in, there seems to be some kind of memory management issue. The memory used by SH3D keeps getting larger with each render, usually leading to a crash when it goes above 200 GB or so, which is about 4-5 renders on a .sh3d file of about 1.75 GB. I can live with restarting the app every 4 renders, it's not a big deal, but I thought maybe it could be useful to report the problem here.
If your memory problem when rendering is similar to this one, you can create a bugs or feature requests ticket.
----------------------------------------
EnkoNyito
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: YafaRay rendering plug-in
Emmanuel,
GhyslainB's Mantle Clock is made up of 51 materials (2 colors and 49 textures). Even by making the ForegroundColor and FrontColorNoCulling materials invisible, the problem persists.
Here is a comparative rendering without changing the source code.