Chris Godfrey schrieb am 12.06.12 14:08:

Whilst awaiting a response I tried increasing hfov of the Terragen
camera to 95 degrees. Did the trick ..

Great.

I might try the remapping as well to see if that works, but it's nicer
to do it all in one app if possible. (Or am I just being
lazy ?  ;o) )

Not at all. For me as a Mac user that was a simple thing to do with the original panotools in earlier days.

There are no control points (also no optimizing) involved, so some PTStitcher lines, now replaced by nona should do the trick (see <http://wiki.panotools.org/PTStitcher> for an example script and compare with your .pto file opened in a text editor):

BTW this is the first time I used Hugin's bundled command line tools, and it works (on my Mac), pretty cool!

Put these lines in a text file:

p f2 w3140 h1570 v360 u0 n"PNG"
i w1000 h1000 f0 v90 r0 p0 y0 n"cubeface1.tif"
i w1000 h1000 f0 v=0 r0 p0 y-90 n"cubeface2.tif"
i w1000 h1000 f0 v=0 r0 p0 y180 n"cubeface3.tif"
i w1000 h1000 f0 v=0 r0 p0 y90 n"cubeface4.tif"
i w1000 h1000 f0 v=0 r0 p-90 y0 n"cubeface5.tif"
i w1000 h1000 f0 v=0 r0 p90 y0 n"cubeface6.tif"

Rename the input images to reflect your cubefaces, set file dimensions and calculate output dimensions: output width is ca. 3,14x width of one of the cube faces, hight must be 1/2 of the width. Save the file (I used 'cubes2equi.txt').

On a Mac follow the "initialise_environment" instructions. Note that the 2011.0.1 release -> Hugin Tools -> Readme.txt (I haven't checked other versions yet) contains an error: 3. issue the command "source ./set_environment.txt" (without the double quotes)
the command should be
source ./initialise_environment.txt

now I was able to feed my terminal something like this:
nona -o nonatest /Users/carl/hugin-test/cubes2equi.txt

I succeeded with PNG as output format, these other formats resulted in unwanted results:
n"TIFF" -> only several remapped images
n"TIFF_multilayer" -> Bus error
n"TIFF_m" -> several remapped images and one that should have been stitched but that one was too small and gave me a EOF error when trying to open it in Photoshop.

See? Much simpler! :-)

Cheers,
Carl

On Jun 12, 12:30 pm, Carl von Einem<[email protected]>  wrote:

I'm not sure if there's a way to disable enblend at all inside Hugin's
user interface (preferable in this case) so one solution is to output
'Remapped Images:' ->  'No exposure correction, low dynamic range'
and set
'Processing:' ->  'Remapper' ->  'Nona' to "Don't save cropped images".

The resulting remapped images can now be easily combined in your image
editor: duplicate layers into one file, set all layers to only use the
lighter information and flatten.

It'll be simpler from the command line though if you plan to do several
equirects.

--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to