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: 173
Posts: 173   Pages: 18   [ 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 469501 times and has 172 replies Next Thread
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

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.

I don't know which missing methods could be added in JNI because the caustic photons are enabled by default as for the sunsky background.


Here is a comparative test between SunFlow and YafaRay.


----------------------------------------
Attachment caustic photons test.sh3d (79998 bytes) (Download count: 180)

----------------------------------------
EnkoNyito
[May 31, 2020, 1:31:01 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: 9432
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

The version 1.3 of the YafaRay rendering plug-in published tonight handles better issues bound to missing memory.
Crashes should happen much less often particularly when the program runs in 32 bit, and a red cross should be displayed now instead of program crashing (at least the first time), letting users save their work if it happens.
I also improved the plug-in to avoid crashes when a rendering is immediately relaunched after a rendering in progress is stopped, as Ceciliabr reported.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jun 6, 2020, 10:02:13 PM] Show Printable Version of Post    View Member Profile    Send Private Message [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: 637
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Version 1.3 does not work on any of my Macs.

I have tried now on several Mac computers:
Mac Pro 5.1 with OSX 10.13.6 , Max Pro 6.1 with OSX 10.14.6, and on my Macbook 1019 with Catalina, where SH3D 6.3 won't even start.
SH3D asks for legacy Java SE6 runtime – which of course cannot be installed because a newer version is already installed.

What is your working config for OSX?

Cecilia
[Jun 13, 2020, 8:00:09 PM] 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: 9432
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Ceciliabr, are you sure you use the installer SweetHome3D-6.3-macosx.dmg?
Apple Java 6 is required for the other installer SweetHome3D-6.3-macosx-10.6.dmg and can't run under Catalina.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jun 13, 2020, 9:34:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [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: 637
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

Ceciliabr, are you sure you use the installer SweetHome3D-6.3-macosx.dmg?
Yes. The installer i downloaded is 67.3 MB and is called SweetHome3D-6.3-macosx.dmg. Unless some switch has been made, I'm running the correct version.

And obviously I'm not the only one experiencing this. I even tried it on my daughters Macbook air with Catalina, with the same result:


[Jun 14, 2020, 12:31:03 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: 9432
Status: Offline
Reply to this Post  Reply with Quote 
Re: YafaRay rendering plug-in

This installer comes with its own copy of Java 8, the reason why it’s much larger than the older ones. So there’s no reason why it would try to use Java 6.
I would suspect that you have more than one copy of Sweet Home 3D application on your computer and another version is associated with .sh3d documents.
This could happen if you open Sweet Home 3D by double-clicking on a SH3D file.
First try to launch Sweet Home 3D by clicking on its icon in the DMG you downloaded or a copy of it on you disk. Then if it works, try to remove the other Sweet Home 3D applications or change file associations in macOS if you know how to perform this change.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jun 14, 2020, 6:30: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 
Xiste
Advanced Member
Member's Avatar

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

I suspect that's what happened with me. I normally open programs from the spotlight search ( an old habit), and usually the latest version is the one on top of the list. As it happens: it wasn't.

But v1.3 is still not working.
[Jun 15, 2020, 11:54:03 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

I've been meaning to try out the new Yafaray renderer (I would indeed _love_ to have a faster and better renderer!), yet I get an error message (copied below from console). It looks like it is missing the Boost library or something: do I need to install that separately? I'm sorry if I'm just stupid, but help would be appreciated :)

For reference, I use the jar version of SH3D (version 6.3), with -xmx set to 12G on macOS 10.13.6 with i7/16GB RAM, and Oracle Java 8 version 251. The plugin is installed in the proper ~/Library/Application Support/eTeks/Sweet Home 3D/plugins folder.

The error message is this:
Exception in thread "pool-9-thread-1" java.lang.UnsatisfiedLinkError: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-17cdb366-9f24-4bf5-8aba-6846e7cd9d4b/dll3757081845916336443tmp/libyafaray_v3_core.dylib: dlopen(/Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-17cdb366-9f24-4bf5-8aba-6846e7cd9d4b/dll3757081845916336443tmp/libyafaray_v3_core.dylib, 1): Library not loaded: /usr/local/opt/boost/lib/libboost_system.dylib
Referenced from: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-17cdb366-9f24-4bf5-8aba-6846e7cd9d4b/dll3757081845916336443tmp/libyafaray_v3_core.dylib
Reason: image not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.loadDLLs(YafarayRenderer.java:251)
at com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.<clinit>(YafarayRenderer.java:135)
at com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.computePhoto(YafarayPhotoPanel.java:
776)
at com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.access$1400(YafarayPhotoPanel.java:113)
at com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel$17.run(YafarayPhotoPanel.java:759)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


Thanks in advance for the help!
G.

P.S.: Since this happens to be my first post on this forum, let me just say to Emmanuel Puybaret and the other contributors of SH3D and its plugins that you guys are heros for the hobbyist architecture enthusiast that I am! Thanks for your hard work and dedication!
[Jul 20, 2020, 11:30:13 PM] 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: 9432
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 creator
[Jul 22, 2020, 3:10:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message [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: 267
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 
Posts: 173   Pages: 18   [ 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 2024 Space Mushrooms - All rights reserved