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:
[font=courier new]int threads = X;
this.sunflow.parameter("threads", threads);
this.sunflow.options(SunflowAPI.DEFAULT_OPTIONS);[/font]
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:
[font=courier new]boolean lowPriority = true;
this.sunflow.parameter("threads.lowPriority", !lowPriority);
this.sunflow.options(SunflowAPI.DEFAULT_OPTIONS);[/font]
No major differences in rendering time.