Print at Dec 19, 2025, 5:15:36 AM

Posted by enkonyito at Sep 4, 2022, 5:14:10 AM
Re: Photo-video rendering plug-in
PhotoVideoRendering-2.4 plug-in

As EnkoNyito is not available at the moment to update his Photo-video rendering plug-in, I made the necessary changes to this plug-in to ensure its compatibility with Sweet Home 3D 7.0 lights defined from a shape with lightSourceMaterialName# property.
Note that the YafaRay rendering engine included in this plug-in doesn't work with the Mac App Store version 7.0.1 and above for security reasons, but works with the free version.


With the old YafaRay Rendering plug-in, you had to use the lib folder of the com.eteks.sweethome3d.plugin.yafarayrendering package to load the necessary DLLs.
Sweet Home 3D 7.0, uses the "com.eteks.sweethome3d.j3d.YafarayPluginsFolder" system property which causes the error:
Exception in thread "pool-9-thread-1" java.lang.UnsatisfiedLinkError: com.eteks.sweethome3d.j3d.AdvancedYafarayRenderer.createEnvironment(Ljava/lang/String;Ljava/lang/String;)J
at com.eteks.sweethome3d.j3d.AdvancedYafarayRenderer.createEnvironment(Native Method)
at com.eteks.sweethome3d.j3d.AdvancedYafarayRenderer.init(AdvancedYafarayRenderer.java:357)
at com.eteks.sweethome3d.j3d.AdvancedYafarayRenderer.render(AdvancedYafarayRenderer.java:849)
at com.eteks.sweethome3d.j3d.AdvancedAbstractPhotoRenderer.render(AdvancedAbstractPhotoRenderer.java:15
7)

----------------------------------------
EnkoNyito