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: 38
Posts: 38   Pages: 4   [ 1 2 3 4 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 98369 times and has 37 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 
Other rendering quality levels

To customize the photo rendering properties, I modify them in a text editor then I save the SweetHome3D.l4j.ini file in the installation folder and at last I relaunch the program.
As it is a bit tedious over time, is it possible to take into account these other rendering quality levels by compiling the source files or adding advanced settings in the photo panel using a plug-in?

I think it might interest some users.
----------------------------------------
EnkoNyito
[Aug 27, 2015, 4:06:18 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: Other rendering quality levels

If you want, you can change the values in the source code, and run the program with Eclipse. All the photo rendering properties are used in PhotoRenderer class (search calls to getRenderingParameterValue method).
You could also create a plug-in that would set the rendering properties with calls to System.setProperty method.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 27, 2015, 3:22:24 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: Other rendering quality levels

Thanks for your answer!

The option of the source code with Eclipse is useful mostly for testing and helps make other changes to the program.
I would keep the slider 4 position for predefined qualities:
  - Q1 : overview of 3D view with shading
  - Q2 (low) : globalIllumination = default, diffusedBounces = 1
  - Q3 (medium) : diffusedBounces = 0
  - Q4 (high) : globalIllumination = path, diffusedBounces >= 1

I will deal with the option of plug-in in depth for usual use.
----------------------------------------
EnkoNyito
[Aug 27, 2015, 11:19:35 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: 3948
Status: Offline
Reply to this Post  Reply with Quote 
Re: Other rendering quality levels

Good idea! I've asked for a similar change.
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Aug 28, 2015, 7:19:20 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: Other rendering quality levels

I based on these configurations and some tests for predefined qualities.

The addition of the medium level was possible by modifying the files associated with the simple photo panel, photos panel at points of view and video panel.
The program works fine with eclipse or a runnable jar.

Quality 0 : 3D view


Quality 1 : default global illumination


Quality 2 : contrasting global illumination


Quality 3 : indirect global illumination


Is there a manipulation to do if the jar file not running on another computer?
----------------------------------------
EnkoNyito
[Aug 30, 2015, 2:55: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 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Other rendering quality levels

The default jarExecutable Ant target generates a Jar executable file able to run under Windows, Mac OS X and Linux, with 32 or 64 bit architecture.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Aug 30, 2015, 11:01:06 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: Other rendering quality levels

Emmanuel, my mistake was to do export runnable jar in Eclipse. By using the build.xml of the source and Ant, the created jar works on another system.

Those interested can test these other rendering quality levels with SH3D-5.0_advanced.jar .
With constrasting GI, use an interior light if not the image will be very dark.
With indirect GI, use a sky without texture otherwise the image will be completely black.

Quality 3_without ceiling light


Quality 3_with ceiling light

----------------------------------------
EnkoNyito
[Sep 1, 2015, 5:24:26 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: 3948
Status: Offline
Reply to this Post  Reply with Quote 
Re: Other rendering quality levels

Thanks you for your file.
I downloaded it and did a few quick tests.

Q1 - completely distorted image
Q2 - usable image
Q3 - usable image
Q4 - overexposed image

Can you explain what the differences are between the settings and how we can get the best results?

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

new website - under constuction
hansdirkse.info
[Sep 1, 2015, 7:13:15 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: Other rendering quality levels

Hans, I have not done tests on Mac OS X and Linux. I don't know if there can be a difference with Windows.

new Q0 = old Q1 : 3D View
new Q1 = old Q2 : default rendering
new Q2 : rendering without diffused bounces
new Q3 : rendering with diffused bounces

For more details, you can consult PhotoRenderer.properties file I edited in the source code.

Thanks for your feedback.
If you get the same result, can you put images to illustrate it?
----------------------------------------
EnkoNyito
[Sep 1, 2015, 7:40:18 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: Other rendering quality levels

Hi all,

You can also test with SH3D-5.0_advanced a ceiling light less powerful and better centered for complex polygonal rooms.


The AdvancedSettings_PhotoRendering plug-in will allow you to modify the photo renderer properties. (parameters definition)

SH3D standard


SH3D advanced


Good use!
----------------------------------------
EnkoNyito
[Sep 16, 2015, 1:11: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 
Posts: 38   Pages: 4   [ 1 2 3 4 | 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