YafaRay rendering plug-in

This topic has been viewed 526647 times and has 172 replies
Thread status: Active
Test the features and bug fixes of future versions [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
gsnake69
Posts: 3
Joined: Sun Oct 11, 2020 3:04 pm

Re: YafaRay rendering plug-in

Post by gsnake69 »

So it works on the free version...
Is there a way to make it work in the "paid" MacStore version ?
It's strange to have a feature working on a free version and not working on a paid version ...
User avatar
bam0o
Posts: 8
Joined: Sun Apr 05, 2020 2:46 pm

Re: YafaRay rendering plug-in

Post by bam0o »

Hi, guys!
Can you tell me, why rendering with natural light is too dark?
I've drawn a room with 4 walls, floor and ceil (17 sq.m). Placed simple double window. And a table inside (just for example). Placed virtual visitor and made yafaray render. (window to the NE side and 8AM - morning - very thin stripe of sunlight on the wall)
Until I turn on ceil lighting images are very dark - almost black room with window and sunlight stripe!
Sky lighting doesn't help. Only ceil lighting...
What I do wrong? Or is it normal? I'm trying to compare with real life and my room with the same conditions is much lighter at morning. (yes, i know about aperture and shutter time in photography, but...)
Can I setup renderer to make pics closer to real life with natural lighting?

I've tried AO and path tracing modes - same results...
User avatar
Ceciliabr
Posts: 637
Joined: Sun Jul 07, 2013 3:41 pm
Country: Copenhagen, Denmark
Contact:

Re: YafaRay rendering plug-in

Post by Ceciliabr »

Hi bam0o!

Aperture, shutter speed and ISO is what normally controls the exposure.
Unfortunately none of these parameters can be controlled when making snapshots with the SH3D camera.
So you will need to brighten your interior a bit by adding a few light sources.
Two panel lights at low intensity, one covering the entire ceiling and facing downward with intensity 8, and one covering the entire floor and facing upwards with intensity 3, might create a better exposure. You may have to experiment a bit before getting it perfect.

Another thing:
I have of course not seen your renders, so I don’t know how dark they really are.

The SH3D camera is an absolute observer, whilst our eyes are dynamic observers.
So when your snapshot is viewed against a white background, your eyes are automatically adjusting the
white balance and the light to the brightest area.
Any normal exposure will seem a bit dark when viewed against a bright white light.
Try viewing your renders against a dark background.
Maybe they are not as dark as they appear.

Cecilia
User avatar
bam0o
Posts: 8
Joined: Sun Apr 05, 2020 2:46 pm

Re: YafaRay rendering plug-in

Post by bam0o »

Hi, Cecilia
Thank you! I know that our vision adapts, but camera's exposure doesn't.
I'll try your recipes with lighting panels.

p.s. here are my pics (i forgot to add it to the first post)

Add ceiling lights (in yafaray settings)
Image

Without any light
Image

Enable sky lighting
Image
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: YafaRay rendering plug-in

Post by enkonyito »

@bam0o
Hi, guys!
Can you tell me, why rendering with natural light is too dark?
I've drawn a room with 4 walls, floor and ceil (17 sq.m). Placed simple double window. And a table inside (just for example). Placed virtual visitor and made yafaray render. (window to the NE side and 8AM - morning - very thin stripe of sunlight on the wall)
Until I turn on ceil lighting images are very dark - almost black room with window and sunlight stripe!
Sky lighting doesn't help. Only ceil lighting...
What I do wrong? Or is it normal? I'm trying to compare with real life and my room with the same conditions is much lighter at morning. (yes, i know about aperture and shutter time in photography, but...)
Can I setup renderer to make pics closer to real life with natural lighting?

I've tried AO and path tracing modes - same results...
Without additional light sources, an interior rendering is always dark.

If you want to have a natural rendering, you can use path tracing global illumination by increasing the number of light bounces if necessary.
Turning on the sky lighting (without texture) can bring a little more brightness.

You can also add light panels as suggested ceciliabr by paying attention to the light power so that it stays close to reality.

Enko
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: YafaRay rendering plug-in

Post by Puybaret »

Here's the version 1.4 of the YafaRay rendering plug-in.
It includes the last version 3.5.1 of libYafaray with the small improvements that I previously programmed for YafaRay plug-in (better handling of images and memory errors). The plug-in is smaller this time (15.8 MB instead of 21 MB) because it doesn't need Boost and some other libraries anymore.

Under Windows, the plug-in should now work correctly if your login contains non ASCII letters (i.e. accentuated or non Latin letters).
Under macOS, I signed the [font=courier new].dylib[/font] files in the hope it will fix some security issues. Not sure it will be enough for all cases, though...
Emmanuel Puybaret, Sweet Home 3D creator
Masok77
Posts: 4
Joined: Fri Oct 30, 2020 10:49 am

Re: YafaRay rendering plug-in

Post by Masok77 »

Hi, i have a problem with Yafaray when render in 1980x1080 show me a memry error... i have 8G RAM with sunflow dont have this problem... is i add more ram i solve this error?
8G ram
FX8350
ssd 250G
Nvidia 1660XT
Thanks
Masok77
Posts: 4
Joined: Fri Oct 30, 2020 10:49 am

Re: YafaRay rendering plug-in

Post by Masok77 »

Yafaray 1.4 sweethome 6.4.2
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: YafaRay rendering plug-in

Post by Puybaret »

In case you have the chance to have acquired a Mac ARM Silicon, here's the version 1.4.1 of the YafaRay rendering plug-in which provides native support for that system when run with the version of Sweet Home 3D for the Mac ARM architecture.

[Edit] Note that versions 1.4 and 1.4.1 can only run from Mac OS X 10.12 because of the SHA-266 certificates used to sign the .dylib files of the plug-in. I'll try to fix this issue in a coming version.

@Masok77 How big is your SH3D file? Did you try with a demo of the gallery?
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: YafaRay rendering plug-in

Post by Puybaret »

Version 1.4.2 fixes the certificate issue for Mac OS X 10.9, 10.10 and 10.11 (maybe for 10.7 and 10.8 too but I didn't test).
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest