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: 216
Posts: 216   Pages: 22   [ Previous Page | 13 14 15 16 17 18 19 20 21 22 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 588661 times and has 215 replies Next Thread
enkonyito
Advanced Member
Member's Avatar


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

The source code is also available here.
----------------------------------------
EnkoNyito
[Aug 3, 2022, 11:47:58 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: 601
Status: Offline
Reply to this Post  Reply with Quote 
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
[Sep 4, 2022, 5:14:10 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Sorry, I forgot to mention here that I released the version 2.4.1 to fix a bug reported by Captaincook about invisible lights which had no effect with SunFlow.

EnkoNyito, I’m not sure what you want to do or what problem you encountered. Can you explain how you got the error you reported?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Sep 4, 2022, 11:30:53 AM] 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: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

In version 2.4.1, the com.eteks.sweethome3d.plugin.yafarayrendering package containing the YafarayRenderer.java file is used to load the necessary DLLs.

In Sweet Home 3D 7.0, the YafarayRenderer.java file (subclass of AbstractPhotoRenderer) is contained in the com.eteks.sweethome3d.j3d package.

By not including the com.eteks.sweethome3d.plugin.yafarayrendering package in the plug-in and by using the new loading of the DLLs of the file YafarayRenderer.java of SH3D-7.0, we have the error above.

By opening the default photo panel first, the error returned is:
java.lang.UnsatisfiedLinkError: Native Library C:\Users\user\AppData\Local\Temp\com.eteks.sweethome3d.SweetHome3D-cache-yafaray-64-43014161-1659389236\libwinpthread-1.dll already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.eteks.sweethome3d.j3d.AdvancedYafarayRenderer.<clinit>(AdvancedYafarayRenderer.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.eteks.sweethome3d.j3d.AdvancedAbstractPhotoRenderer.createInstance(AdvancedAbstractPhotoRenderer
.java:95)


Is it better to use the DLLs present in lib/yafaray of SweetHome3D-7.0 or in com/eteks/swethome3d/plugin/yafarayrendering/lib of the YafarayRendering-1.4.5 plugin?
----------------------------------------
EnkoNyito
[Sep 4, 2022, 6:33:55 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

It would be better to reuse the DLLs available in Sweet Home 3D in your plug-in, but then you'll get the error you reported. As removing these DLLs from your plug-in will prevent it to work with older versions of Sweet Home 3D, I think it's better to keep them with your plug-in for the moment.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Sep 5, 2022, 2:49:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
varigonda
Newbie



India
Joined: Sep 15, 2022
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

My simple photo rendering is stopping in between without showing any progress. and when i stop the rendering then save button is not visible at this time (When it is stuck).

i am using mac 10.12 , simple photo rendering 2.4.1 .

after in progressed for couple of hours then it stuck then there is no way to retrieve photo it created. need help in fixing this issue . At least can you please let me know how to retrieve photo it created till that point.

Below are setting i am using.

1) depth of field and best quality with sky light on.
2) below are advanced settings

AA_minsamples 16
lighting method sppm
normallens.radios 0.1
remaining all default settings.
[Sep 15, 2022, 10:39:42 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
YGYL
Advanced Member
Member's Avatar


Joined: Feb 5, 2013
Post Count: 136
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Found a bug, when the sky box texture is set, SUNFLOW engine rendering ray tracing will become completely black

[Oct 5, 2022, 4:59:27 AM] 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: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

@varigonda
When you click on Stop, the Save button becomes available if rendering has stopped correctly and it is possible to save your image. If not, your rendering has terminated abnormally.


@YGYL
To use Path global illumination with a sky texture, sky lighting must be enabled.
----------------------------------------
EnkoNyito
[Oct 5, 2022, 6:49:58 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: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

@Puybaret
It would be better to reuse the DLLs available in Sweet Home 3D in your plug-in, but then you'll get the error you reported. As removing these DLLs from your plug-in will prevent it to work with older versions of Sweet Home 3D, I think it's better to keep them with your plug-in for the moment.

Indeed, it is more practical to keep the YafarayRendering-1.4.5 plug-in dlls otherwise it would have been necessary to create a version derived from SweetHome3D-7.0.
A question that has nothing to do. How to modify the luminosity of the sky (color or texture) as it is already the case for the ground with Java3D (3D view)?
----------------------------------------
EnkoNyito
[Dec 31, 2022, 7:54:43 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: 601
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

PhotoVideoRendering-2.5 plug-in

----------------------------------------
EnkoNyito
[Mar 31, 2023, 10:43:54 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: 216   Pages: 22   [ Previous Page | 13 14 15 16 17 18 19 20 21 22 | 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-2024 eTeks - All rights reserved