Features

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: 13
Posts: 13   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5119 times and has 12 replies Next Thread
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 467
Status: Offline
Reply to this Post  Reply with Quote 
Additional Sunflow options (tests)

Sunflow has command line options to control the rendering result without the GUI.
The goal here is to test their actions in Sweet Home 3D.


* Option:
-threads X
Allows you to force the number of threads used for rendering (BucketRenderer, MultipassRenderer).
Default value: number of available processors.

SH3D implementation:
int threads = X;
this.sunflow.parameter("threads", threads);
this.sunflow.options(SunflowAPI.DEFAULT_OPTIONS);




No major differences in rendering time if the number of virtual threads is greater than the number of actual threads available.



* Options:
-lopri
-hipri

Allows you to set the priority of the threads.
Default value: lowPriority = true.

SH3D implementation:
boolean lowPriority = true;
this.sunflow.parameter("threads.lowPriority", !lowPriority);
this.sunflow.options(SunflowAPI.DEFAULT_OPTIONS);


No major differences in rendering time.
[Jun 3, 2019, 12:18:30 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: 467
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

* Option:
-showaa
Display sampling levels per pixel for bucket renderer.
Default value: showAA = false.

SH3D implementation:
boolean showAA = false;
this.sunflow.parameter("aa.display", !showAA);
this.sunflow.options(SunflowAPI.DEFAULT_OPTIONS);


showAA = true



showAA = false

[Jun 4, 2019, 4:32: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 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 467
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

* Options:
-quick_uvs : Renders the UVs of objects.
-quick_normals : Renders the normals of objects.
-quick_id : Renders using a unique color for each instance.
-quick_prims : Renders using a unique color for each primitive.
-quick_gray : Renders all the objects in the scene gray diffuse, overriding all shaders.
-quick_wire : Renders objects as wireframe.
-quick_ambocc X : Renders a scene in ambient occlusion mode with a certain distance (X).
Only one override shader at a time can be used.

SH3D implementation:
String shaderOverride = null; // "show_uvs","show_normals","show_instance_id","show_primitive_id","quick_gray","wireframe","ambient_occlusion"
if (shaderOverride.equals("ambient_occlusion")) {
float maxDist = 200f;
this.sunflow.parameter("maxdist", maxDist);
}
this.sunflow.shader("cmdline_override", shaderOverride);
this.sunflow.parameter("override.shader", "cmdline_override");
this.sunflow.options(SunflowAPI.DEFAULT_OPTIONS);


shaderOverride != null



[Jun 5, 2019, 12:01:32 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
VeroniQ
Advanced Member



France
Joined: Mar 3, 2015
Post Count: 627
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

Nice renderings!
[Jun 5, 2019, 12:38:18 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 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 467
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

Nice renderings!

Thank you VeroniQ!
I take the opportunity to propose a small survey.


Among the new rendering options, which ones do you find most interesting?

A: show_uvs


B: show_normals


C: show_instance_id


D: show_primitive_id


E: quick_gray


F: wireframe


G: ambient_occlusion (X)

----------------------------------------
[Edit 1 times, last edit by enkonyito at Jun 5, 2019, 5:22:48 PM]
[Jun 5, 2019, 4:36:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
VeroniQ
Advanced Member



France
Joined: Mar 3, 2015
Post Count: 627
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

I like E: Quick Grey but the colored ones (especially C and D) are fun!
[Jun 5, 2019, 5:42:34 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 
ndorigatti
Member



Italia
Joined: May 12, 2017
Post Count: 56
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

quick gray, wireframe and ambient occlusion (E F G)
[Jun 5, 2019, 7:42: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 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 467
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

The additional Sunflow options plug-in will be available with the new version of the photo-video plug-in.




Enko
[Jul 1, 2019, 3:45:02 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
williamcm
Newbie
Member's Avatar

Cameroun
Joined: Apr 19, 2018
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

Hello hello community
how to install SunFlow
I would like to improve my rendering and how to use it? i have already downloaded but there is no executable file

Thank you william from Cameroon

---------------------------------------------------------------
Hello bonjour la communaute
comment installer SunFlow
je voudrais ameliore mes rendue et comment l utiliser? j ai telecharger deja mais il ya pas de fichier executable

Merci william depuis le cameroun
[Aug 5, 2019, 1:33:03 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 
enkonyito
Advanced Member
Member's Avatar


Joined: May 28, 2015
Post Count: 467
Status: Offline
Reply to this Post  Reply with Quote 
Re: Additional Sunflow options (tests)

Hello hello community
how to install SunFlow
I would like to improve my rendering and how to use it? i have already downloaded but there is no executable file

Thank you william from Cameroon

Hi William!

You can download the precompiled version Sunflow-v0.07.2 and run the sunflow.jar file directly or sunflow.bat after editing.

You can also download the latest version Sunflow-v0.07.3 and follow the build instructions of the README file.

Enko Nyito
[Aug 5, 2019, 5:20:22 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: 13   Pages: 2   [ 1 2 | 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-2020 eTeks - All rights reserved