distorted straight lines in publish to website viewer

89 views
Skip to first unread message

D'Arcy Leck

unread,
Aug 5, 2015, 1:05:38 PM8/5/15
to PTGui Support
I have noticed a problem in the results of using the publish to website tool of PTGUI.  When viewing the web page panorama in certain sections of the 360 panorama straight lines are distorted where as in other areas of the same panorama they are not. Lines are supposed to be straight when viewing and most are except at certain points. I did three architectural interiors with a nodal ninja pan head. The stitched panoramas turned out great with no stitching errors. They were 360 x 94 as I did not need to show nadir or zenith. I do not see the distortions in the flattened panorama jpeg file.

I have an older version of Pano2vtr so I made a flash web page with this app and the panoramas look correct with all lines straight (no distortions).

Here is a screen capture of what is happening


The ceiling/wall line should be straight and not distorted as it is displayed here.


What is happening with this panorama when published to website? Here is a link to the panorama web page:


http://www.darcyleck.com/DMTCRoom395-1/DMTC%20Room%20395%20360%20Panorama%201.htm







John Houghton

unread,
Aug 5, 2015, 4:02:04 PM8/5/15
to PTGui Support
I think that there has probably been a mismatch in the specification of the projection type.  Generate the panorama in equirectangular projection and specify equirectangular when you add it to the Publish to Web tool.  Also, don't crop the panorama in the Panorama Editor window by dragging inwards the yellow crop bars from the edge of the image frame.

If you still get curved edges, upload a copy of the generated panorama file (jpg).

John

PTGui Support

unread,
Aug 6, 2015, 4:50:55 AM8/6/15
to pt...@googlegroups.com
Hi D'Arcy,

Looks like you have cropped the equirectangular file before running it
through Publish to Website. This doesn't work; the horizon of the
panorama should always be in the middle of the equirectangular file. If
you crop it then it should be cropped symmetrically; this can be done
simply by reducing the vertical field of view using the slider in the
panorama editor.

Then in Publish to Website you can limit the vertical viewing range
using min/max tilt.

Kind regards,

New House Internet Services BV
Joost Nieuwenhuijse

-----------------------------------------------
PTGui - Photo Stitching Software

www.ptgui.com
For support see: http://www.ptgui.com/faq/
-----------------------------------------------

On 05/08/15 19:05, D'Arcy Leck wrote:
> I have noticed a problem in the results of using the publish to website
> tool of PTGUI. When viewing the web page panorama in certain sections
> of the 360 panorama straight lines are distorted where as in other areas
> of the same panorama they are not. Lines are supposed to be straight
> when viewing and most are except at certain points. I did three
> architectural interiors with a nodal ninja pan head. The stitched
> panoramas turned out great with no stitching errors. They were 360 x 94
> as I did not need to show nadir or zenith. I do not see the distortions
> in the flattened panorama jpeg file.
>
> I have an older version of Pano2vtr so I made a flash web page with this
> app and the panoramas look correct with all lines straight (no distortions).
>
> Here is a screen capture of what is happening
>
>
> The ceiling/wall line should be straight and not distorted as it is
> displayed here.
>
>
> What is happening with this panorama when published to website? Here is
> a link to the panorama web page:
>
>
> http://www.darcyleck.com/DMTCRoom395-1/DMTC%20Room%20395%20360%20Panorama%201.htm
>
>
>
>
>
>
>
> --
> --
> 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 upload your files
> at a file sharing site (for example http://ge.tt/ ) and include a link
> in your message.
> For more options, visit this group at http://groups.google.com/group/ptgui
>
> ---
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

D'Arcy Leck

unread,
Aug 6, 2015, 5:12:26 PM8/6/15
to PTGui Support
It was a mismatch of projections. The panorama was output at cylindrical (a oversight on my part as it was a 360 and should have been equirectangular). The publish to web was set at equirectangular. I went back and generated the panorama at equirectangular - 360x180 with no cropping (I had not used any cropping the first way with cylindrical - no yellow crop bars). The publish to web was set at equirectangular and the resulting panorama was correct with no curved lines. Curious why Pano2vr got it right though.

It leaves me with some work now as this was an hdr which I outputted blend planes and tone mapped in another program since I am not satisfied with PTgui's hdr tone-mapping. I then did additional retouching in Photoshop. So, now I need to go back and do it all over again. Oh well, I learned my lesson well.

Thanks for the help and solution
D'Arcy

John Houghton

unread,
Aug 7, 2015, 1:59:43 AM8/7/15
to PTGui Support
On Thursday, August 6, 2015 at 10:12:26 PM UTC+1, D'Arcy Leck wrote:
It leaves me with some work now as this was an hdr which I outputted blend planes and tone mapped in another program since I am not satisfied with PTgui's hdr tone-mapping. I then did additional retouching in Photoshop. So, now I need to go back and do it all over again.

D'Arcy, You may not need to do everything again.  If you have retained a copy of the equirectangular file that was input to Pano2VR, you can simply run the Publish to Web tool again and specify cylindrical as the projection type.  If that's not possible, you may be able to reconstruct an acceptable version of the equirectangular file from the files generated by Pano2VR.  I simply stitched screenshots of the displayed VR panorama to reconstruct the original image for my investigation in order to prove that it was actually a cylindrical image masquerading as equirectangular.

John

D'Arcy Leck

unread,
Aug 12, 2015, 9:11:57 AM8/12/15
to pt...@googlegroups.com
Yes, that was simple. I just changed the projection in "publish to website" to cylindrical and everything looked good. So I did not have to go back and do everything over again. Thanks once again for the good advice.
D'Arcy

--
--
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 upload your files at a file sharing site (for example http://ge.tt/ ) and include a link in your message.
For more options, visit this group at http://groups.google.com/group/ptgui

---
You received this message because you are subscribed to a topic in the Google Groups "PTGui Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ptgui/ErEQe3FEbHc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ptgui+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages