Planetside Software Forums

General => Terragen Discussion => Topic started by: Henry Blewer on October 26, 2009, 08:33:54 AM

Title: Altering the number of threads used during a render
Post by: Henry Blewer on October 26, 2009, 08:33:54 AM
I would like to change the number of threads used during a render. Pause the render, then change the threads use to one, or back to two. (I have a P4 HT) Is this possible?
Title: Re: Altering the number of threads used during a render
Post by: Zairyn Arsyn on October 26, 2009, 11:14:18 AM
i think that may cause errors.
seems like i once accidentally changed render setting when forgot i had render going, and i immediately started getting errors.

I try the same thing again later, to see if it really happends.
Title: Re: Altering the number of threads used during a render
Post by: PorcupineFloyd on October 26, 2009, 11:51:32 AM
Can't you simply disable and then re-enable threads (CPU cores) that tgd.exe is using by entering the task manager in Windows?
Title: Re: Altering the number of threads used during a render
Post by: Henry Blewer on October 26, 2009, 03:11:53 PM
You can set the affinity of the cores used. This makes the program run on specific cores. I've done this in Blender, which did not like it. It also causes system instability.
Title: Re: Altering the number of threads used during a render
Post by: jo on October 26, 2009, 05:45:39 PM
Hi,

Changing any setting during rendering, paused or not, is asking for trouble really.

Regards,

Jo
Title: Re: Altering the number of threads used during a render
Post by: Henry Blewer on October 26, 2009, 06:51:41 PM
Well, that's ok. I was hoping it would work. I change the programs priority using task manager all the time. It would be nice to restrict the number of threads when I want to do something else when all cores are being used.
Title: Re: Altering the number of threads used during a render
Post by: jaf on October 26, 2009, 07:26:55 PM
If only we had a "save render" like ancient Bryce had..... :)
Title: Re: Altering the number of threads used during a render
Post by: Oshyan on October 26, 2009, 07:58:02 PM
If you want to restrict the amount of CPU usage during rendering, just use the Affinity settings in your Task Manager. I don't think it would actually work using the settings in TG2 during rendering, and even if it did it's asking for trouble, like Jo said.

- Oshyan
Title: Re: Altering the number of threads used during a render
Post by: Henry Blewer on October 26, 2009, 08:46:26 PM
I have not had any problems changing the programs priority. But the ability to save the render buffers, stop the render, and then continue the render would be very helpful.
Title: Re: Altering the number of threads used during a render
Post by: PorcupineFloyd on October 27, 2009, 04:51:33 AM
If I have something really time-consuming to render and I have a super-urge do play a game for some time or do some heavy processing in other software I simply pause the rendering and as I have 8GB of RAM - TG2 leaves enough memory for other applications.
But if I really need to turn off my rig, I simply pause the render (not really required, just to be sure everything is ok) and hibernate Windows. I've been doing this for a long time now and I've never had a single problem with that. So that's a bit of a workaround if there's no built-in resume in Terragen.
Title: Re: Altering the number of threads used during a render
Post by: Henry Blewer on October 27, 2009, 07:55:09 AM
I have turned of my computer maybe nine times in five years. I like to keep it busy rendering.