France
Joined: Nov 7, 2005
Post Count: 9432
Status:
Offline
Re: YafaRay rendering plug-in
Good news! David Bluecame added an equirectangular camera to YafaRay yesterday. I gave it a try this morning and it worked as expected, so I should be able to generate a new version of the plug-in with this missing feature soon.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Denmark
Joined: Jul 7, 2013
Post Count: 637
Status:
Offline
Re: YafaRay rendering plug-in
The best news here is that David Bluecame is actually still updating YafaRay. The present version was released some three years ago, unless I'm mistaken, and the YafaRay forum has been relatively dead lately, so even an alfa-version bears good news.
Just wondering: Does YafaRay use GPU as well as CPU? My activity monitor indicates some GPU activity that is not present when rendering with Sunflow.
By the way, Cecilia, I love your renderings
Thank you! Much appreciated! I really like YafaRay. I'm still experimenting, but I will find time to create and post some new snapshots soon, now that the youngest is back in kindergarten, at least most of the days.
DE
Joined: Apr 26, 2020
Post Count: 15
Status:
Offline
Re: YafaRay rendering plug-in
Good news! David Bluecame added an equirectangular camera to YafaRay yesterday. I gave it a try this morning and it worked as expected, so I should be able to generate a new version of the plug-in with this missing feature soon.
Those are really good news!
Can you estimate, when it will be available in SW3D?
A few days, a few weeks, or a few month?
I simply want to plan my project and optimize either for YR or SF rendering.
DE
Joined: Apr 26, 2020
Post Count: 15
Status:
Offline
Re: YafaRay rendering plug-in
When I look at the rendering process (Windows7 and 10), I see that the CPU is fully loaded and the GPU shows no significant load. Three questions: 1. Are there some adjustments or tricks, to force and use a faster GPU usage? or 2. Are there plans to integrate this feature in the near future?
3. Generelly asking (As I do not have any idea): Are some other 3D apps much faster, because the renderer is using the GPU, or is that a similar speed (for similar tasks)? Do those user also need to wait hours and hours for 1 large picture - if many light-sources are active in a larger room?
France
Joined: Nov 7, 2005
Post Count: 9432
Status:
Offline
Re: YafaRay rendering plug-in
Here's the version 1.1 of the YafaRay rendering plug-in which allows to compute equirectangular images. It's based on the version 3.4.2 of YafaRay that David Bluecame very gently accepted to release with the missing camera used to compute this kind of images.
Equirectangular image of example 12 of the gallery (4000x2000 image)
@s_koch Finally, YafaRay doesn't really use the GPU. I think its team would like to use it in a future version but it's of course a complicated improvement. I don't know how much other rendering engines perform better or not. Even an in-depth study of their performances may lead to some too big expectations, because as soon as you integrate all the parameters in the rendering, you may loose a lot of CPU power. I expected that YafaRay would be able to run 10 times faster that SunFlow but finally this factor is more often 2 or 3 and some users even experienced some cases where YafaRay was slower than SunFlow!
Emmanuel, do you plan to implement caustic photons for direct lighting in a future version?
@enkonyito If it's not complicated, I'll add the missing methods in JNI if needed. Any information that will help me to program it faster will be appreciated. Note also that version 1.1 of the plug-in uses named cameras to let you generate videos more effectively in your plug-in, without the need to regenerate the scene at each frame.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
DE
Joined: Apr 26, 2020
Post Count: 15
Status:
Offline
Re: YafaRay rendering plug-in
Kudos to David and YafaRay team!
And some extra Kudos to you, dear Emmanuel for this extreme fast response!!
Note also that version 1.1 of the plug-in uses named cameras to let you generate videos more effectively in your plug-in, without the need to regenerate the scene at each frame.
But how to use "named cameras", or do you mean the named positions ("point of view") of the "visitor"?
And when I create a video, how to choose one of the 2 rendering engines?
Joined: Feb 6, 2015
Post Count: 75
Status:
Offline
Re: YafaRay rendering plug-in
That's amazing Puybaret. Now I can render a spherical photo with best quality really fast. 4000x2000, best quality, spherical: Sunflow: 15 minutes Yafaray: 3 minutes
Joined: May 14, 2020
Post Count: 3
Status:
Offline
Re: YafaRay rendering plug-in
Why is the personal view rendered differently compared to the aerial view. It is also a lot faster but with worse quality. Settings are the same, I just change the view and start the Yafaray renderer.
France
Joined: Nov 7, 2005
Post Count: 9432
Status:
Offline
Re: YafaRay rendering plug-in
I decided to go that way because some settings didn't render correctly in SunFlow in virtual visit, and at the moment, YafaRay rendering plug-in reproduces the same settings. But I plan to change these settings in a coming version in both rendering engines, if I can fix the issue in SunFlow.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9432
Status:
Offline
Re: YafaRay rendering plug-in
Here's the version 1.2 of the YafaRay rendering plug-in which fixes the projection of the fisheye lens to make it similar to SunFlow's one and improves the launch delay of the renderer, mostly for scenes with large texture images. As this version creates much less temporary files, users with a slow hard disk should also see a faster launch.
It's based on the version 3.4.4 of YafaRay that David Bluecame kindly released to add more projection parameters fo fisheye lens. I forked this version to avoid storing texture images in temporary files and to speed up the rendering of multiple frames in videos, an improvement that Enkonyito will hopefully integrate in his plug-in.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator