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: 226
Posts: 226   Pages: 23   [ Previous Page | 4 5 6 7 8 9 10 11 12 13 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 704683 times and has 225 replies Next Thread
enkonyito
Advanced Member




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

PhotoVideoRendering-1.7 plug-in
- added an ambient lighting slider (simple photo panel)
- fixed a bug in the management of curved lines (video panel)
- fixed a bug in the management of speed values (video panel)
- added other global illumination (rendering properties)
- management of additional Sunflow options
- compatibility with the standard version of SH3D and its derived version


AdditionalSunflowOptions-1.1 plug-in
- Sunflow options to override shaders


SH3D-6.2_derived executable jar
- added an independent ceiling light in each room
- added Fake Ambient Term 2 global illumination
- grouping the actions of a same plug-in in a menu
- other minor enhancements


Enko Nyito
----------------------------------------
EnkoNyito
----------------------------------------
[Edit 1 times, last edit by enkonyito at Jul 15, 2019, 2:53:07 AM]
[Jul 15, 2019, 2:47:25 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4014
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Thank you for the new (version of the) plug-in and the JAR. I'm trying them out, but have some problems.

The JAR runs without problems under Windows 10 64-bits, but when I try to make a render I run into memory problems. The JAR runs in 32-bit mode and allows only 0.2 GB of memory, that's not enough to do any serious work. Can you increase the memory allowance, or offer a version that allows the standard installation?

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Jul 15, 2019, 6:54:39 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MichaelN
Member




Joined: Apr 21, 2019
Post Count: 29
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Is there any Help for the Rendering Plugin? And it's common, that it needs several hours for 1600x Pixel?
[Jul 15, 2019, 6:14:50 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




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

@hansmex
The JAR runs in 32-bit mode and allows only 0.2 GB of memory, that's not enough to do any serious work.
You can run the JAR file with a script using java options like increasing the memory.
java -Xmx2g -jar path/to/SH3D-6.2_derived.jar

Can you increase the memory allowance, or offer a version that allows the standard installation?
Maintaining a derived version requires a lot more work than a plug-ing because you have to create a new one with every standard Sweet Home 3D update. What I do not plan to do...
I released the version derived from SH3D-6.2 to show the possibilities of the modifications made to the program.



@MichaelN
Is there any Help for the Rendering Plugin?
This tutorial explains how the plug-in works for rendering properties.
With PVR-1.7, "default" global illumination is replaced by "Ambient Occlusion" and "path" by "Path Tracing".

And it's common, that it needs several hours for 1600x Pixel?
It depends on your scene (number of lights, activated ceiling lights, shininess of objects, enhancement of external brightness) and rendering settings (number of antialiasing, type of global illumination, type of sampler algorithm).



Examples:
- comparative global illumination
- additional Sunflow options
- independent ceiling lights
----------------------------------------
EnkoNyito
[Jul 15, 2019, 11:50: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 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4014
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

This doesn't work...
- right-click on the Windows logo
- select Run
- java -Xmx8g -jar C:\Users\hans\Downloads\SH3D-6.2_derived.jar
- nothing happens

Any suggestions?
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Jul 16, 2019, 11:12: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 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: Photo-video rendering plug-in

Not sure if it works on Windoof, but go to your SweetHome3D directory, open the lib folder, rename the SweetHome3D.jar to anything else, rename the JAR-file from Enko to SweetHome3D.jar and copy it to the lib folder in your SweetHome3D directory.
Then start your SweetHome3D as usual...
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[Jul 16, 2019, 3:27:50 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




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

This doesn't work...
- right-click on the Windows logo
- select Run
- java -Xmx8g -jar C:\Users\hans\Downloads\SH3D-6.2_derived.jar
- nothing happens

Any suggestions?


You can launch the JAR file
- from a terminal:
java -Xmx8g -jar "C:\Users\hans\Downloads\SH3D-6.2_derived.jar"

- from a .bat file in the same directory as the JAR:
java -Xmx8g -jar SH3D-6.2_derived.jar


Enko
----------------------------------------
EnkoNyito
[Jul 17, 2019, 9:56:41 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




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

This beta version 1.8 of the photo plug-in will allow you to test the new shininess shaders and Sunflow standard options from version 1.2 of this other plug-in (Tools menu).

[Note: Updated download links to include video rendering and bug fixes in standard options.]
----------------------------------------
Attachment PVR-1.8_betaTest2.sh3p (353864 bytes) (Download count: 140329)

----------------------------------------
Attachment AdditionalSunflowOptions-1.2.sh3p (70930 bytes) (Download count: 305)

----------------------------------------
Attachment PVR-1.8_betaTest2a.sh3p (353801 bytes) (Download count: 163870)

----------------------------------------
Attachment AdditionalSunflowOptions-1.2a.sh3p (70997 bytes) (Download count: 330)

----------------------------------------
EnkoNyito
----------------------------------------
[Edit 1 times, last edit by enkonyito at Aug 28, 2019, 6:56:23 PM]
[Aug 26, 2019, 11:21:57 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: Photo-video rendering plug-in

Perfect!

After some testing, I have found that a buffer size of 48 is marginally faster than 64 and 32.
Is it automatically detecting the number of threads available?

Quite oddly, it seems that choosing different bucket orders has an impact on the rendering time.
This is rendered with column.



Hilbert : 39 s
Spiral : 39 s
Row : 38 s
Column : 35 s
Diagonal : 35 s
Random: 48 s

I didn't try the reverse options – but I must admit I was somewhat curious about the reverse random...

I noticed no difference with the threads.lowPriority activated.

The project file is meant as an illustration of the rather hot inner core of the earth (intended for the education of my daughters),
and I wanted it to spin, so I tried making a video.
It seems the video will not render in Q4, but stops about half way.



I'm including the project file, in case anyone wants to give it a try ( 1280 x 536 )

Project file

Cec
[Aug 27, 2019, 9:52:45 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




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

@Ceciliabr

Is it automatically detecting the number of threads available?
Yes, the number of threads by default is the number of available processors (CPU) that will be the maximum value because I noticed a bug by opening your file on my computer which has only 4 cores.

Quite oddly, it seems that choosing different bucket orders has an impact on the rendering time.
I think it depends on the scene.
With yours where the subject is central and the background black, the order has an influence especially on the calculation of the remaining time.

I didn't try the reverse options – but I must admit I was somewhat curious about the reverse random...
The "reverse random" bucket order will be removed.

I noticed no difference with the threads.lowPriority activated.
This is what I also found but I do not do any action in the plan or the 3D view during a rendering.

It seems the video will not render in Q4, but stops about half way.
Version 1.7 of the plug-in uses only the default values of the new options.
I will test with different video format because the lighting significantly increases the duration of the rendering.

Enko
----------------------------------------
EnkoNyito
[Aug 28, 2019, 7:03:28 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: 226   Pages: 23   [ Previous Page | 4 5 6 7 8 9 10 11 12 13 | 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