Stitch a Cubic?

238 views
Skip to first unread message

cubicle

unread,
Jun 22, 2010, 10:00:42 PM6/22/10
to PTGui Support
Someone has provided me with the 6 images of a panorama they shot
previously in cubic format. I know PTGUI can create cubic panos, so I
assume it can stitch them as well. The problem is, it doesn't seem to
be working for me. Can you please walk me through how to do it
(assuming it's possible)?

Thanks very much!

Riefa

unread,
Jun 22, 2010, 10:18:25 PM6/22/10
to pt...@googlegroups.com
Afaik it is not possible to stitch cubic using PTGui...cmiiw..:)

You can try Pano2VR if you want to output it to flash / qtvr..:)


Cheers,
Riefa
www.idVR360.com
--
You received this message because you are subscribed to the Google Groups "PTGui" group.
To post to this group, send email to pt...@googlegroups.com
To unsubscribe from this group, send email to ptgui+un...@googlegroups.com
Please do not add attachments to your posts; instead you may upload files at
http://groups.google.com/group/ptgui/files
For more options, visit this group at http://groups.google.com/group/ptgui

ZeBoxx

unread,
Jun 23, 2010, 8:20:03 AM6/23/10
to PTGui Support
You can stitch cubic with PTGui pretty easily, but you'll have to do
some manual wrangling (you could probably make a template out of
this).

Load all of the 6 cube faces - I'm presuming the PTGui naming
convention with file.back.tif, file.bottom.tif, etc.

In the Lens Settings tab, set the Projection to Rectilinear and set
the Horizontal Field of View to 90° (4 sides 'around' on a cube, 360°/
4 = 90°)

In the Panorama Settings tab, set the Projection to Equirectangular,
the Horizontal Field of View to 360° and the Vertical Field of View to
180 (4 around, 2 up/down).

Then in the Image Parameters tab, set the following (this is where
having the filenames in the image parameters tab could be useful)
file.front.tif: Leave as is
file.right.tif: Yaw: 90°
file.back.tif: Yaw: 180°
file.left.tif: Yaw: -90°
file.top.tif: Pitch: 90°
file.bottom.tif: Pitch: -90°

If you now open the Panorama Editor window, you should already see the
cube faces in their correct places. You might see some odd pixels -
that's just the quick editor window being a tad inaccurate.

Go to the Create Panorama tab, and set Layers to 'Individual layers
only'. You don't want PTGui to attempt to blend between the cube
faces, as they are already ideally blended in this alignment. Disable
the 'Use fast transform' option. Set the Interpolator to whatever you
prefer.. you're always going to incur a loss from the transformation.

That should be all there is to it. There is a very slight possibility
that you will still have a few missing pixels between stitched cube
faces. There's two solutions to that...
A. Use Photoshop (or whatever you use), select the missing pixels, and
fill those in using the repair tools (in simpler graphics editors, a
Median Blur would work just fine)
B. In the Lens Settings tab, set the Field of View -slightly- over
90°. This makes the cube faces a tad larger than they actually are,
thus filling in those pixels. It also means that some pixels of the
cube faces will probably end up overlapping - so it's a trade-off of
evils there.
Method A is much more solid to work with, but adds the extra steps, of
course.

John Houghton

unread,
Jun 24, 2010, 2:08:04 AM6/24/10
to PTGui Support
On Jun 23, 1:20 pm, ZeBoxx <newsletters_...@pointzero.nl> wrote:
> You can stitch cubic with PTGui pretty easily, but you'll have to do
> Go to the Create Panorama tab, and set Layers to 'Individual layers
> only'.

It you select nona (supplied in the Hugin package) for stitching,
you'll get a perfectly blended stitch directly, without having to
generate layers followed by method A or B.


John

Bwanaq

unread,
Jun 24, 2010, 4:23:46 AM6/24/10
to PTGui Support
I agree with Riefa that Pano2VR is the way to go as you can create
Equirectangular, Flash, QickTime and a host of other Transformations
from the Cube Images.
http://gardengnomesoftware.com/
You could look at Pano2QTVR first, which is free to download but no
longer being developed.
Reply all
Reply to author
Forward
0 new messages