Print at Dec 15, 2025, 7:20:43 PM
Posts: 14   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by enkonyito at Jun 3, 2019, 12:18:30 AM
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.
----------------------------------------
EnkoNyito

Posted by enkonyito at Jun 4, 2019, 4:32:09 AM
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

----------------------------------------
EnkoNyito

Posted by enkonyito at Jun 5, 2019, 12:01:32 AM
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



----------------------------------------
EnkoNyito

Posted by VeroniQ at Jun 5, 2019, 12:38:18 PM
Re: Additional Sunflow options (tests)
Nice renderings!

Posted by enkonyito at Jun 5, 2019, 4:36:46 PM
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)

----------------------------------------
EnkoNyito

Posted by VeroniQ at Jun 5, 2019, 5:42:34 PM
Re: Additional Sunflow options (tests)
I like E: Quick Grey but the colored ones (especially C and D) are fun!

Posted by ndorigatti at Jun 5, 2019, 7:42:35 PM
Re: Additional Sunflow options (tests)
quick gray, wireframe and ambient occlusion (E F G)

Posted by enkonyito at Jul 1, 2019, 3:45:02 AM
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
----------------------------------------
EnkoNyito

Posted by williamcm at Aug 5, 2019, 1:33:03 AM
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

Posted by enkonyito at Aug 5, 2019, 5:20:22 PM
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
----------------------------------------
EnkoNyito

Posts: 14   Pages: 2   [ 1 2 | Next Page ]