Print at Dec 22, 2025, 10:42:25 AM

Posted by enkonyito at Feb 12, 2020, 2:30:00 PM
Re: Several rendering engines in the same plugin
As it is not possible to remove a light created during the first video frame in YafaRay, a single call to new YafarayRenderer has the consequence of adding new lights to the scene with each new frame which slows down the video rendering.
Using finalize(), Sweet Home 3D crashes by generating a .log file in the plug-in project folder.

With several calls to new YafarayRenderer as for photos at points of view, a new scene is created with each video frame and the problem of removing lights does not arise.
The surprise is that the video rendering is no longer slowed down and is even faster than SunFlow.
----------------------------------------
EnkoNyito