France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: YafaRay rendering plug-in
Ghyslain, it seems I missed one step during the build of the plug-in. Please try the version 1.3.1 which should fix your issue.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Date/Time: 2020-07-22 17:28:51.455 +0200 OS Version: Mac OS X 10.13.6 (17G14019) Report Version: 12 Anonymous UUID: F590E1AE-84B7-61C6-CEA3-F11D1D8CF2C4
Joined: Jul 20, 2020
Post Count: 12
Status:
Offline
Re: YafaRay rendering plug-in
Thank you Emmanuel for your prompt reply!
I've now tried this new 1.3.1 version. However, another issue seems to have arisen and leads to a crash.
First trying the plugin with the jar version of the app and one of my projects. Upon launching the Create photo with Yafaray render, there is first a series of library reference error messages in the console:
dlerror: dlopen(/Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libphotonmap.dylib, 2): Library not loaded: /usr/local/opt/boost/lib/libboost_system.dylib Referenced from: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libphotonmap.dylib Reason: image not found dlerror: dlopen(/Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libspotlight.dylib, 2): Library not loaded: /usr/local/opt/boost/lib/libboost_filesystem.dylib Referenced from: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libspotlight.dylib Reason: image not found
Etc., etc. (I won't copy all the logs here because it would fill out the forum, but I can send them to you in full if needed.)
Then, after some crunching (with medium-high CPU utilization), the application exits with this error:
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000018df57b7d, pid=9787, tid=0x0000000000027b67 # # JRE version: Java(TM) SE Runtime Environment (8.0_201-b09) (build 1.8.0_201-b09) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode bsd-amd64 compressed oops) # Problematic frame: # C [libyafaray_v3_core.dylib+0x60b7d] yafaray::imageFilm_t::setProgressBar(yafaray::progressBar_t*)+0xd # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /Users/Ghyslain/hs_err_pid9787.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
The referenced log file begins with the following:
# A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000018df57b7d, pid=9787, tid=0x0000000000027b67 # # JRE version: Java(TM) SE Runtime Environment (8.0_201-b09) (build 1.8.0_201-b09) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode bsd-amd64 compressed oops) # Problematic frame: # C [libyafaray_v3_core.dylib+0x60b7d] yafaray::imageFilm_t::setProgressBar(yafaray::progressBar_t*)+0xd # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
--------------- T H R E A D ---------------
Current thread (0x00007fdfc00a6000): JavaThread "pool-11-thread-1" [_thread_in_native, id=162663, stack(0x00007000075e9000,0x00007000076e9000)]
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: YafaRay rendering plug-in
Ghyslain, it seems I missed more than one step during the build of the plug-in 1.3. Please try the version 1.3.2 which should fix at least the "Library not loaded" errors you reported. Not sure if the other errors are bound to this first ones. I hope so.
No, versions 1.3.1 and 1.3.2 fixes only wrong internal links in .dylib libraries for macOS. The recent changes in YafaRay will be incorporated to YafaRay rendering plug-in later. It's not urgent because the change log lists only issues on some features not used in the plug-in.
Can I somehow use it for video too?
See PhotoVideoRendering plug-in cited in plug-ins page.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: YafaRay rendering plug-in
Ghyslain, thanks for your feedback. Ceciliabr, Xiste, could you try this new version too?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator