TG2 Batch V4: Panorama - Wedges - Large tiled Images - distrib Rendering

Started by neon22, November 22, 2008, 09:22:20 PM

Previous topic - Next topic

neon22

Here is the latest version of this app that allows you to:
- render animation sequences (distributed to remote machines)
- create tiled large images
- render panoramas
- wedge node parameters (new)
Originally here:  forum topic=2816.15
Instructions now located here:
http://neon.wireframe.biz/node/29

Update 2 - corrected tgd_cli.exe location if using new beta
Update 3 - forgot new render params :(
Update 4 - fixed bug where all Tiled images were forced to be square

lonewolf

Looks interesting. Will give it a go after I reinstall windows (going 64bit).

Iain

rcallicotte

Very nice.  I'll try this.  Thank you.
So this is Disney World.  Can we live here?

cyphyr

Looks very useful, I think I might have a project comming up that may be able to use this :)
Thanks
Oh dose this work in Vista64?
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

neon22

#4
no idea :)
But I should think so... Let us know :)

neon22

Here is a sample panorama - not very big.
The master Render Camera's location defined the focal point for the renders.
The 6 frames were rendered - then stitched together - then projected into equirectangular format and saved as a Tiff. All done automatically by TG2_Batch.
I manually converted it to a jpg so it would be smaller for this page.

To see the image in a panoramic viewer you can:
  - download FSPViewer  - a large format standalone viewer
      from here: http://www.fsoft.it/panorama/FSPViewer.htm
  - view it in a webpage using the Java plugin: PTViewer
      from here: http://www.fsoft.it/panorama/ptviewer.htm
  - download Panoglview - a hardware accelerated standalone viewer
      from here: http://sourceforge.net/project/showfiles.php?group_id=77506&package_id=152817

lonewolf

Is python meant to be this hard to install? Followed your insructions and get nothing.
I did download python26, which shouldn't be a problem, but wxpython only seems to be looking for python25 in the registry.

Iain

lonewolf

Decided to go back and download the older files, it seems to be working now.
But your app does not envoke tgd.exe or tgdcli.exe. is it meant to be in a certain directory, or is there a header that needs changing?

Iain

neon22

did you follow the instructions on the linked instructons page ?
For wxpython - you have to download the version that matches your python version.
You also have to install them in the right order...  pythoncard will go into the current python version - if you have several on your machine.

I have tested installation on 3 machines - but I am sure I could write clearer instructions.
Can you determine where its all going wrong ?

lonewolf

During installation it was that wxpython would only look for pyton2.5 in the register, that was using all the latest dowload links from the python page. Put python2.5.2 on and it seems to be working now. They do say to use 2.6 but they haven't updated wx perhaps.

Anyway, your app loads, opens the tgd, changes settings, creates tile etc. But when I hit render, no successful renders out of n renders. Using the batch option creates the batch files for rendering in the same location as the tgd. Is there a line in one of your files that points to the TG2 installation folder? If I were to render with your batch files, how do I? In the command line text it says how to do it with a tgd file, is it similar?

Iain

neon22

yes there is a line where the executable is. Its at the top of Batch_TG2_class.py
tgd_executable_path = "C:/Program Files/Planetside Software/Terragen 2 Deep Edition (Beta)"

Also the start directory for looking for tgd files is at the top of the TG2_Batch.py file:
# starting directory for directory choosing dialog
homedir = "C:\\Documents and Settings\\User\\My Documents\\CTW\\Terragen etc\\programs"

(TG2_Batch.py is the main executable to start the program.)
Thanks for having a go at using it :-)

As for wxpython. This page suggests there are installers for 2.4, 2.5, 2.6 but YMMV
http://wxpython.org/download.php#binaries

lonewolf

Thanks for that neon. Am at work now so will try it later.
The problem seems to be that I am using vista 64, and thus there are 2 program files directories.
One for 32 bit and one for 64 bit programs.

Changing the path should start me making big renders.
Perhaps when you get closer to packaging it up you could include a batch file to ask for the installation directories of TG and nona, or make an installer to do the lot. Will start a render tonight and let you know how it goes.

Iain

wackymidget

Looks like a great tool. Unfortunately I'm using a Mac. Anychance of a Mac version?


lonewolf

Ok after I fixed the line pointing to the tg folder it seemed to work.
Did a quick test render at 1600x900 split into 6 tiles. Unfortunately it suffers from the GI inconsistency problem others have noticed.
Still, it did what you said it would and in reasonable time too. It was a little strange that I set it up to render at 1600x900 and it rendered at 1600x1600. Will be a bit of uneccesary rendering at higher resolutions. Here is the test image with only saving as a jpeg done after render and compile.

Iain

Dark Fire

lol. As a follow up to my post near the end of the original thread, I am still working too hard to develop my own render farm manager (which, I must say, is looking increasingly like a more basic but friendly version of this TG2 Batch V4).

I can't be bothered to dig up my old threads again, so I'll just point out that the main thing holding my render farm manager back at the moment is the inability to stitch together portions of images (so there's no point, yet, in splitting images). Also, the inability to test a lot of the current features is both not helping development, and failing to keep me particularly interested.