Planetside Software Forums

General => Terragen Discussion => Topic started by: lightning on March 16, 2008, 11:49:37 PM

Title: Multi core rendering?
Post by: lightning on March 16, 2008, 11:49:37 PM
first of thanks for the great reply on my olive tree upload I cant wait to see it in some renders!
anyway now that i have terragen 2 deep i was wondering how to do multi core rendering i have 2 processors in my pc.
now in remember seeing a wee program that does this for you in the forums I tried to search for it but couldnt find it (i maybe wrong about this altogether!)
but i always see when people post images especially moodflow saying he renders of 2 cores or 4 cores how do you do that?
thanx in advance jak :)
Title: Re: Multi core rendering?
Post by: dhavalmistry on March 16, 2008, 11:56:34 PM
I havent seen been any multicore 3rd party tools for rendering....but one way to do it is open multiple instances of TG2 and open same file in all of them and do crop regions of different parts of the render...
Title: Re: Multi core rendering?
Post by: Tangled-Universe on March 17, 2008, 08:47:45 AM
Quote from: dhavalmistry on March 16, 2008, 11:56:34 PM
I havent seen been any multicore 3rd party tools for rendering....but one way to do it is open multiple instances of TG2 and open same file in all of them and do crop regions of different parts of the render...

Exactly! But don't forget to set the CPU-affinity differently for each TG-2 instance and make sure that you've enough RAM to render because a crop render takes as much memory as a full render as far as I know. At least, it's the way I use to do this.
Title: Re: Multi core rendering?
Post by: moodflow on March 17, 2008, 12:58:05 PM
Yes, this is a very inefficient way to do it, as it requires cropping AND overlapping images (12% overlap is about the minimum you can get away with due to GI inconsistencies), AND reassembling images in Photoshop.

@lightning:  I bought 2 new Dell desktop PC's off of Craigslist a while back for a great price.  Both are identical, dual-core 3.0GHz PCs with 1 GB RAM each. 

Here is the process I use:  I assemble a TG2 image on my main PC, keep all files, objects, textures, etc in a single image folder.  Once everything is dialed in and I am ready to render the full version, I transfer the folder to the other 2 Dell PCs.

Then I open 2 sessions of TG2 on each PC and then open the image file under each instance (which means 4 instances total).  These are split into overlapping quarters, then each is set to rendering.  Once complete, I'll take all 4 image quarters into Photoshop and simply reassemble them (takes about 1 minute or less). 

Sometimes, I'll have 2 separate projects going on, so I'll just render on 1 of the Dells, splitting the image in 2 halves.  Alot of my past images have been done this way, and I'll put the wording "rendered over 2 cores".

This is all why I am anxiously awaiting multiprocessing support.   ;D

Title: Re: Multi core rendering?
Post by: moodflow on March 17, 2008, 12:59:22 PM
Quote from: moodflow on March 17, 2008, 12:58:05 PM
Yes, this is a very inefficient way to do it, as it requires cropping AND overlapping images (12% overlap is about the minimum you can get away with due to GI inconsistencies), AND reassembling images in Photoshop.

@lightning:  I bought 2 new Dell desktop PC's off of Craigslist a while back for a great price.  Both are identical, dual-core 3.0GHz PCs with 1 GB RAM each. 

Here is the process I use:  I assemble a TG2 image on my main PC, keep all files, objects, textures, etc in a single image folder.  Once everything is dialed in and I am ready to render the full version, I transfer the folder to the other 2 Dell PCs.

Then I open 2 sessions of TG2 on each PC and then open the image file under each instance (which means 4 instances total).  These are split into overlapping quarters, then each is set to rendering.  Once complete, I'll take all 4 image quarters into Photoshop and simply reassemble them (takes about 1 minute or less). 

Sometimes, I'll have 2 separate projects going on, so I'll just render on 1 of the Dells, splitting the image in 2 halves.  Alot of my past images have been done this way, and I'll put the wording "rendered over 2 cores".

In addition, as TU stated, I think RAM isn't split optimally, and I've had some crashes after long renders, likely due to memory issues.

This is all why I am anxiously awaiting multiprocessing support.   ;D


Title: Re: Multi core rendering?
Post by: buchvecny on March 20, 2008, 09:36:26 AM
its good idea to let photoshop do the dirty work for you file>automate>photomerge
Title: Re: Multi core rendering?
Post by: lightning on March 21, 2008, 04:13:19 AM
thanks guys
oh i only just found out i have two dual core processors in my pc so 4 cores in total i heard thats pretty good with 2gb of ram and a nvidia 512 mb video card.
only got my pc the other week ;D
Title: Re: Multi core rendering?
Post by: buchvecny on March 25, 2008, 10:44:46 AM
video card doesnt matter at at all at the moment. i like the end of previous sentence.
Title: Re: Multi core rendering?
Post by: lightning on March 28, 2008, 08:18:34 PM
sorry i ment graphics card ::)
Title: Re: Multi core rendering?
Post by: buchvecny on April 05, 2008, 09:08:50 PM
err its the same isnt it? graphics video or VGA just have no effect baby
Title: Re: Multi core rendering?
Post by: Cyber-Angel on April 07, 2008, 10:58:49 AM
I've not heard the term Video Graphics Adapter (VGA) for a long, long time not since the release of the old Voodoo 2 video card (They wasn't called graphics cards back then) you used to see on boxes for games and other software "VGA Compatible" like you used to see the label "IBM Compatible" most of the best software back then "When I had a Commodore Amiga 500" was on the PC, haven't thought about this stuff for a while if I remember correctly VGA replaced the older Adapter Technology of EGA.

Regards to you. 

Cyber-Angel

-End of Line-