Print at Dec 20, 2025, 6:58:30 AM View all posts in this thread on one page
Posted by rca19 at Nov 9, 2012, 4:07:35 PM
Rendering Threads
On my Linux box, it looks like the image renderer is using 8 threads. Is there a way to adjust that value up/down?

Posted by Puybaret at Nov 9, 2012, 4:32:32 PM
Re: Rendering Threads
Not from the user interface. Otherwise, by program, you could add the row
this.sunflow.parameter("threads", numberOfThreads);
in the render method of com.eteks.sweethome3d.j3d.PhotoRenderer class.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by rca19 at Nov 9, 2012, 5:50:48 PM
Re: Rendering Threads
Not sure how to rebuild the source on Linux ... maybe this can be a feature request for the PhotoRenderer in a future release?

Posted by Puybaret at Nov 9, 2012, 6:29:16 PM
Re: Rendering Threads
Why not using the full power of the processor would be useful?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by rca19 at Nov 10, 2012, 5:25:21 PM
Re: Rendering Threads
I noticed yesterday that my machine was totally swamped with java processes while doing photo rendering. Sometimes I want to do other tasks concurrently, so changing the number of render threads would be useful.

I didn't look at the code that closely, but does the photoRenderer automatically create a render thread for each processor on the system? So if I had a 16-processor machine, it would generate 16 render threads?