View Panorama with PanoGLView

685 views
Skip to first unread message

thumeau

unread,
Feb 5, 2011, 12:54:40 AM2/5/11
to PTGui Support
Dear Support,
I use PTGui Pro on Mac OS (latest version on Intel Mac).

Right now, after creating an equirectangular, I'm using PanoGLView to
view it.
However, eventhough I set up PanoGlView as the configured viewer, when
selecting "View with Configured Viewer (PanoGlView)", it opens
PanoGLView but doesn't load automatically the panorama and I have to
open it manually.
Is there a way to do have it open PanoGLView automatically?

Alternatively, do you recommend any other Equirect Pano Viewer for Mac
Os?

Thank you,
Thomas
(Nikon D700 - Nikkor 10.5mm fisheye)

PS: I recently changed my workflow from Win to Mac so if you have
other Mac specific tips, that would be great!

thumeau

unread,
Feb 5, 2011, 12:57:27 AM2/5/11
to PTGui Support
I forgot to mention that for the same reason, I'm not able to use the
"Preview" feature on PtGui...

floz

unread,
Feb 5, 2011, 4:58:59 AM2/5/11
to PTGui Support
I think the reason is because PanoGLview doesn't support "externally"
opening a file (for lack if a better word). Same as you can't go Open
With > PanoGLview in the Finder either. You have to open the program
first, the go File > Open or drag and drop an image into the empty
window.

So this has nothing to do with PTGui, it's a missing feature of
PanoGLview...

thumeau

unread,
Feb 5, 2011, 5:32:00 AM2/5/11
to PTGui Support
Thanks a lot for the prompt reply.

Understood about PanoGLView. I was afraid of that...

Any alternative to PanoGLview then?

Erik Krause

unread,
Feb 5, 2011, 5:48:00 AM2/5/11
to pt...@googlegroups.com

For Windows there would be DevalVR stand alone:
http://www.devalvr.com/paginas/productos/index.html

But I suspect you are on Mac (since I found no panoglviewer binary for
windows). May be you find somethin on
http://wiki.panotools.org/Viewers#Stand_alone_Viewers

--
Erik Krause
http://www.erik-krause.de

Willy Kaemena

unread,
Feb 5, 2011, 5:48:35 AM2/5/11
to pt...@googlegroups.com
Why not simply using the new and built in viewer in version 9?

It is accessible by using the looking glass symbol in the editor window

Sent from my iPhone
Willy Kaemena

> --
> 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

thumeau

unread,
Feb 5, 2011, 8:19:34 AM2/5/11
to PTGui Support
Hello Erik,
Thanks, I had already looked at the tools listed on the
wiki.panotools.org and that's where I knew about PanoGLView.
(I haven't been able to use any other viewer in the list easily on my
mac)
Thomas

thumeau

unread,
Feb 5, 2011, 8:21:05 AM2/5/11
to PTGui Support
Hello Willy,
When I click on the eye button on the pano editor in PtGUI 9 (on my
mac), it launches the Mac preview, only showing the pano as a regular
image.
Could it be that the mac version doesn't come with any built in
viewer?
I would be interested to know about that

thumeau

unread,
Feb 5, 2011, 8:34:28 AM2/5/11
to PTGui Support
Ok, I managed to find a way to have PanoGLViewer load the panorama
correctly directly from PTGui.

if that can be of any help to any other Mac user here is the solution

It's a bit tricky and technical but nothing super difficult.

First, I noticed that PanoGLViewer can indeed take a file path as an
input and load it.
You can test that easily in the Mac terminal tool with this command:
> open /Applications/PanoGLView.app --args path/of/your/pano_file.jpg

Then from there, I had to build a custom application using the
Automator tool that would launch this command with the proper file.
So in Automator, create an application (which will receive a file as
an input.
Then add a "run Applescript" action.

Put this script in it:
on run {input}
set mypath to (the POSIX path of input)
set mypath to "open /Applications/PanoGLView.app --args " & mypath
do shell script mypath
return mypath
end run

Technical explanation for the Applescript enthousiasts:
Apparently, the key was to change the File path format from the Mac
applescript format ("Drive:path:to:my:pano.jpg") to the Unix style
path ("/Volume/Drive/path/to/my/pano.jpg").

Then save your application in the Application folder (or anywhere
else, that's fine too) as something like 'mypanoviewer.app'

Finally, in PTGui, replace the configured viewer from PanoGLViewer to
you newly created "mypanoviewer.app"

That's it.
Now, the file should load automatically in PanoGLViewer...




Willy Kaemena

unread,
Feb 5, 2011, 9:07:09 AM2/5/11
to pt...@googlegroups.com
The Eye button requires IMHO Quicktime installed (QT 7) and will show then a QTVR of your pano. But more useful is the new previewer built in in PTgui with can be launched by the looking glass beside the eye.

Willy

Reply all
Reply to author
Forward
0 new messages