YafaRay rendering plug-in

This topic has been viewed 526860 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]
Post Reply New Topic
User avatar
bdfd
Posts: 2614
Joined: Sat Mar 29, 2014 7:17 am
Country: LILLE, Les Hauts de France, Western Europa

Re: YafaRay rendering plug-in

Post by bdfd »

I'm agree with Hans ! [=D>]
.
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: YafaRay rendering plug-in

Post by enkonyito »

YafaRay also has options to enhance external brightness.

Image Image
Image Image
EnkoNyito
Mike53
Posts: 678
Joined: Sat Jan 06, 2018 1:02 am
Country: UK

Re: YafaRay rendering plug-in

Post by Mike53 »

I like the softness of the shadows in ibl true, the sky and reflections in the glass also look better in the ibl randers, is it ibl Or background or can they be combined?

Further test to compare sun and yar, here are 2 images of a pool with a wall and windows reflected, there is quite a bit of difference in the way the reflections have turned out.

Sunflow all default settings
Image

An Yarafray
Image
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: YafaRay rendering plug-in

Post by enkonyito »

@Mike53
I like the softness of the shadows in ibl true, the sky and reflections in the glass also look better in the ibl randers, is it ibl Or background or can they be combined?
It is either the sky color or the sky texture.


It is possible to implement the path tracing lighting method.

Image Image
Image Image
EnkoNyito
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: YafaRay rendering plug-in

Post by enkonyito »

Some suggestions for the next version (1.0 Beta 4):
- use a YafarayRenderer.properties file to modify rendering parameters such as for SunflowRender.properties
- include an example xml scene using arealights or visible spherelights because their implementation is problematic
- make tile borders visible to see the number of rendering threads

Enko
EnkoNyito
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 »

Is it the more advanced ray-tracing in Sunflow that makes it perform slower than YafaRay in your test?
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: YafaRay rendering plug-in

Post by enkonyito »

@Ceciliabr
Is it the more advanced ray-tracing in Sunflow that makes it perform slower than YafaRay in your test?
YafaRay is primarily optimized to work with Blender but offers a lot of nice features as shown here.
The purpose of my contribution to this new plug-in is to help find general settings for a rendering approaching or equivalent to that of Sunflow. Duration is an additional indication.

To return to your question, it is the YafaRay "Path Tracing" global illumination settings that make a similar rendering (regardless of shininess) faster than Sunflow.

I hope that Puybaret will be more successful than me in the implementation of area lights or caustic photons which are also important features.
EnkoNyito
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 »

YafaRay is primarily optimized to work with Blender but offers a lot of nice features as shown here
Cool! But will all these features be available?
Sunflow also offers lots of features, but they are not all available from SH3D.

I have been browsing the YafaRay forum , and it seems they are addressing much of the same issues that we do with Sunflow. Long rendering time is one of them, when rendering complex scenes.

In every one of the many tests I have made, YafaRay has delivered noticeably inferior quality compared to the optimized Sunflow renders in Q4.
So an extensive adjustment panel for Yafa would be much appreciated. Some of the images shown at the YafaRay forum are really outstanding.

Cec
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: YafaRay rendering plug-in

Post by enkonyito »

@Puybaret
Avoid to touch the native [font=courier new]YafarayRenderer.cpp[/font] file used as a bridge to YafaRay if you don't know JNI (Java Native Interface), but it shouldn't be necessary.
After generating the [font=courier new]YafarayRenderer.h[/font] file, modifying the [font=courier new]YafarayRenderer.cpp[/font] file, adding the include and lib folders, rendering returns the error

Code: Select all

Exception in thread "pool-7-thread-1" java.lang.UnsatisfiedLinkError: betaTestPlugin.YafarayRenderer.createEnvironment(Ljava/lang/String;Ljava/lang/String;)J
	at betaTestPlugin.YafarayRenderer.createEnvironment(Native Method)
The [font=courier new]YafarayRenderer.class[/font] file is located in the bin/betaTestPlugin project folder.

What is the best way to use the YafaRay rendering engine in another plugin (derived version)?
EnkoNyito
jjocsak
Posts: 5
Joined: Sat Nov 09, 2019 3:55 pm
Country: USA

Re: YafaRay rendering plug-in

Post by jjocsak »

After I installed the plugin I noticed it's grayed out and cannot be selected.
What am I doing wrong?

Thanks
Jeff
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest