Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 160
Posts: 160   Pages: 16   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 202301 times and has 159 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 7837
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Jul 22, 2020, 3:10:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Xiste
Advanced Member
Member's Avatar

Norway
Joined: Apr 18, 2014
Post Count: 211
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

I just tried this version, and now the create-button works. But after the file is loaded, SH3D shuts down, leaving this message:


Process: SweetHome3D [12051]
Path: /Applications/Sweet Home 3D.app/Contents/MacOS/SweetHome3D
Identifier: com.eteks.sweethome3d.SweetHome3D
Version: 6.3 (6300)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: SweetHome3D [12051]
User ID: 501

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


Time Awake Since Boot: 340000 seconds

System Integrity Protection: enabled

Crashed Thread: 140 Java: pool-10-thread-1

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001c8
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x1c8:
-->
__TEXT 000000010e534000-000000010e535000 [ 4K] r-x/rwx SM=COW /Applications/Sweet Home 3D.app/Contents/MacOS/SweetHome3D

Application Specific Information:
abort() called

Thread 0:: AppKit Thread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff68f381fa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff68f37714 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff40dd7dc5 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff40dd7117 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff40dd6787 CFRunLoopRunSpecific + 487
5 com.apple.HIToolbox 0x00007fff400b6d96 RunCurrentEventLoopInMode + 286
6 com.apple.HIToolbox 0x00007fff400b6b06 ReceiveNextEventCommon + 613
7 com.apple.HIToolbox 0x00007fff400b6884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff3e363a3b _DPSNextEvent + 2085
9 com.apple.AppKit 0x00007fff3eaf9e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
10 libosxapp.dylib 0x0000000a77775328 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
11 com.apple.AppKit 0x00007fff3e35884d -[NSApplication run] + 764
12 libosxapp.dylib 0x0000000a77774f72 +[NSApplicationAWT runAWTLoopWithApp:] + 156
13 libawt_lwawt.dylib 0x0000000a776f90bf -[AWTStarter starter:] + 905
14 com.apple.Foundation 0x00007fff42f39955 __NSThreadPerformPerform + 334
15 com.apple.CoreFoundation 0x00007fff40df4b01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16 com.apple.CoreFoundation 0x00007fff40eace5c __CFRunLoopDoSource0 + 108
17 com.apple.CoreFoundation 0x00007fff40dd7ab0 __CFRunLoopDoSources0 + 208
18 com.apple.CoreFoundation 0x00007fff40dd6f2d __CFRunLoopRun + 1293
19 com.apple.CoreFoundation 0x00007fff40dd6787 CFRunLoopRunSpecific + 487
20 libjli.dylib 0x000000010e6458fe CreateExecutionEnvironment + 871
21 libjli.dylib 0x000000010e6414cc JLI_Launch + 1952
22 libpackager.dylib 0x000000010e5c44c7 JavaLibrary::JavaVMCreate(unsigned long, char**) + 183
23 libpackager.dylib 0x000000010e5c1db1 JavaVirtualMachine::StartJVM() + 3457
24 libpackager.dylib 0x000000010e5c0f60 RunVM() + 16
25 libpackager.dylib 0x000000010e5ce81f start_launcher + 1791
26 com.eteks.sweethome3d.SweetHome3D 0x000000010e534cd9 main + 217
27 com.eteks.sweethome3d.SweetHome3D 0x000000010e534bf4 start + 52

[Jul 22, 2020, 5:11:19 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
pling
Newbie



Nederland
Joined: Jul 23, 2020
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
applause Re: YafaRay rendering plug-in

This plug-in is awesome! Can I somehow use it for video too?
[Jul 23, 2020, 6:42:23 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 549
Status: Offline
Reply to this Post  Reply with Quote 
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.

Does this version incorporate the new source code of YafaRay?
----------------------------------------
EnkoNyito
[Jul 23, 2020, 10:22:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
GhyslainB
Newbie




Joined: Jul 20, 2020
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
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)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00000000000001c8

[...]

Stack: [0x00007000075e9000,0x00007000076e9000], sp=0x00007000076e8410, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libyafaray_v3_core.dylib+0x60b7d] yafaray::imageFilm_t::setProgressBar(yafaray::progressBar_t*)+0xd
C [libyafarayjni.dylib+0x683e] Java_com_eteks_sweethome3d_plugin_yafarayrendering_YafarayRenderer_render+0x2ce
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayRenderer$ImageOutput;Ljava/util/Map;)V+0
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Ljava/awt/image/BufferedImage;Lcom/eteks/sweethome3d/model/Camera;Ljava/awt/image/ImageObserver;)V+1493
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.computePhoto(Lcom/eteks/sweethome3d/model/Home;)V+164
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.access$1400(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayPhotoPanel;Lcom/eteks/sweethome3d/model/Home;)V+2
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel$17.run()V+8
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.dylib+0x2f0bea] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x6ae
V [libjvm.dylib+0x2f138e] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x164
V [libjvm.dylib+0x2f153a] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x4a
V [libjvm.dylib+0x34be29] thread_entry(JavaThread*, Thread*)+0x7c
V [libjvm.dylib+0x570c33] JavaThread::thread_main_inner()+0x9b
V [libjvm.dylib+0x57232e] JavaThread::run()+0x1c2
V [libjvm.dylib+0x48f3ca] java_start(Thread*)+0xf6
C [libsystem_pthread.dylib+0x3661] _pthread_body+0x154
C [libsystem_pthread.dylib+0x350d] _pthread_body+0x0
C [libsystem_pthread.dylib+0x2bf9] thread_start+0xd
C 0x0000000000000000

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayRenderer$ImageOutput;Ljava/util/Map;)V+0
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Ljava/awt/image/BufferedImage;Lcom/eteks/sweethome3d/model/Camera;Ljava/awt/image/ImageObserver;)V+1493
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.computePhoto(Lcom/eteks/sweethome3d/model/Home;)V+164
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.access$1400(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayPhotoPanel;Lcom/eteks/sweethome3d/model/Home;)V+2
j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel$17.run()V+8
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub


I've also tried with the App Store version of SH3D (and a demo file), and it leads to the same behaviour, with the following System crash report:

Crashed Thread: 100 Java: pool-10-thread-1

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001c8
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x1c8:
-->
__TEXT 000000010d3b3000-000000010d3b4000 [ 4K] r-x/rwx SM=COW /Applications/Sweet Home 3D.app/Contents/MacOS/SweetHome3D

Application Specific Information:
abort() called

Thread 0:: AppKit Thread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff512ba20a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff512b9724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff29186845 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff29185b97 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff29185207 CFRunLoopRunSpecific + 487
5 com.apple.HIToolbox 0x00007fff28465d96 RunCurrentEventLoopInMode + 286
6 com.apple.HIToolbox 0x00007fff28465b06 ReceiveNextEventCommon + 613
7 com.apple.HIToolbox 0x00007fff28465884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff26715a73 _DPSNextEvent + 2085
9 com.apple.AppKit 0x00007fff26eabe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
10 libosxapp.dylib 0x000000012800c328 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
11 com.apple.AppKit 0x00007fff2670a885 -[NSApplication run] + 764
12 libosxapp.dylib 0x000000012800bf72 +[NSApplicationAWT runAWTLoopWithApp:] + 156
13 libawt_lwawt.dylib 0x0000000127f900bf -[AWTStarter starter:] + 905
14 com.apple.Foundation 0x00007fff2b2e50b5 __NSThreadPerformPerform + 334
15 com.apple.CoreFoundation 0x00007fff291a3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16 com.apple.CoreFoundation 0x00007fff2925b8ac __CFRunLoopDoSource0 + 108
17 com.apple.CoreFoundation 0x00007fff29186530 __CFRunLoopDoSources0 + 208
18 com.apple.CoreFoundation 0x00007fff291859ad __CFRunLoopRun + 1293
19 com.apple.CoreFoundation 0x00007fff29185207 CFRunLoopRunSpecific + 487
20 libjli.dylib 0x000000010d49d8fe CreateExecutionEnvironment + 871
21 libjli.dylib 0x000000010d4994cc JLI_Launch + 1952
22 libpackager.dylib 0x000000010d45d4c7 JavaLibrary::JavaVMCreate(unsigned long, char**) + 183
23 libpackager.dylib 0x000000010d45adb1 JavaVirtualMachine::StartJVM() + 3457
24 libpackager.dylib 0x000000010d459f60 RunVM() + 16
25 libpackager.dylib 0x000000010d46781f start_launcher + 1791
26 com.eteks.sweethome3d.SweetHome3D 0x000000010d3b3cd9 main + 217
27 com.eteks.sweethome3d.SweetHome3D 0x000000010d3b3bf4 start + 52

Thread 1:
0 libsystem_kernel.dylib 0x00007fff512c3d82 __semwait_signal + 10
1 libsystem_pthread.dylib 0x00007fff5148f824 _pthread_join + 626
2 libjli.dylib 0x000000010d49cebb ContinueInNewThread0 + 102
3 libjli.dylib 0x000000010d49a378 ContinueInNewThread + 201
4 libjli.dylib 0x000000010d49cc1b JVMInit + 363
5 libjli.dylib 0x000000010d49a0f6 JLI_Launch + 5066
6 libpackager.dylib 0x000000010d45d4c7 JavaLibrary::JavaVMCreate(unsigned long, char**) + 183
7 libpackager.dylib 0x000000010d45adb1 JavaVirtualMachine::StartJVM() + 3457
8 libpackager.dylib 0x000000010d459f60 RunVM() + 16
9 libpackager.dylib 0x000000010d46781f start_launcher + 1791
10 com.eteks.sweethome3d.SweetHome3D 0x000000010d3b3cd9 main + 217
11 libjli.dylib 0x000000010d49d590 apple_main + 92
12 libsystem_pthread.dylib 0x00007fff5148b661 _pthread_body + 340
13 libsystem_pthread.dylib 0x00007fff5148b50d _pthread_start + 377
14 libsystem_pthread.dylib 0x00007fff5148abf9 thread_start + 13


Hopefully, this might help you figure out what is going on. Thanks!
[Jul 28, 2020, 9:28:37 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
GhyslainB
Newbie




Joined: Jul 20, 2020
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

P.S. to my last post, I've tried version 1.2 of the plugin and it works fine, so my config probably isn't the root cause for the 1.3.1 crash.

Cheers.
[Jul 29, 2020, 6:21:09 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 7837
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Ghyslain, it seems I missed more than one step during the build of the plug-in 1.3. sad
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.

Does this version incorporate the new source code of YafaRay?
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 developer
[Jul 29, 2020, 7:51:59 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
GhyslainB
Newbie




Joined: Jul 20, 2020
Post Count: 12
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Emmanuel, third time’s the charm! Version 1.3.2 works for me. Thanks for the fix smile
[Jul 30, 2020, 5:55:45 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 7837
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Ghyslain, thanks for your feedback.
Ceciliabr, Xiste, could you try this new version too?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jul 30, 2020, 7:46:34 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Ceciliabr
Advanced Member
Member's Avatar

Denmark
Joined: Jul 7, 2013
Post Count: 619
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

YES! YES! YES!

SH3D 6.4 and YafaRay 1.3.2 works perfectly!



Took three minutes to load, but rendered in six – and this is a HUGE file!

I salute you!

https://www.youtube.com/watch?reload=9&v=LAdxhHz6Tu4


Cecilia wink
[Jul 30, 2020, 11:39:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 160   Pages: 16   [ Previous Page | 7 8 9 10 11 12 13 14 15 16 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2021 eTeks - All rights reserved