home

Topics Topics Edit Profile Profile Help/Instructions Help Register Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  

Alternate View State?

The Panorama Factory Forum » The Panorama Factory FAQ » Alternate View State? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 1
Registered: 4-2007
Posted on Thursday, April 26, 2007 - 8:41 pm:   Edit PostDelete Post

I have two panoramas of the same spot, one at night and one in the day.

I know that it's possible to have an alternate View State on a QTVR object. (Click on the object, and a different track is played.)

Is it possible to do the same with a panorama?

I'd like to toggle between the day and night panoramas based on a mouse/key click.

Here are thumbnails of the images in question:
Venice - Grand Canal - Day
Venice - Grand Canal - Night

Thanks,
Erik Flom
Top of pagePrevious messageNext messageBottom of page Link to this message

Olivier Detry
New member
Username: Kitarolivier

Post Number: 6
Registered: 4-2007
Posted on Friday, April 27, 2007 - 3:42 pm:   Edit PostDelete Post

Hi ! Nice Shot !

Maybe you can do a hotspot covering the whole picture, so when you click you get the other image. But the view angle will be the default, and not the same as the previous picture :-(
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 2
Registered: 4-2007
Posted on Monday, April 30, 2007 - 4:44 pm:   Edit PostDelete Post

Thanks for the compliment! I didn't have a tripod, I just set the camera on the ledge and hoped for the best. Exposure time was 4-8 seconds per shot for the night photo. I was very happy with the results.

The picture was taken from the balcony of Hotel Al Ponte Antico on the Grand Canal in Venice. One night at the hotel was expensive, but these pictures made it worth the extra cost. :-)

That's a good idea about using a full screen hotspot. Unfortunately, Panorama Factory doesn't seem to support hotspots?

I'm stuck on the PC, so my QTVR editing choices seem pretty limited. Do you know of any good apps? (That don't cost several hundred dollars. :-)

Thanks again!
Top of pagePrevious messageNext messageBottom of page Link to this message

Olivier Detry
New member
Username: Kitarolivier

Post Number: 7
Registered: 4-2007
Posted on Tuesday, May 01, 2007 - 5:23 am:   Edit PostDelete Post

PF does support Hotspot. Open your stitched picture and go to 'Image' and select 'Hotspot'. Define a rectangular zone covering the whole picture and link it to the opposite(night/day) picture.
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 3
Registered: 4-2007
Posted on Friday, May 04, 2007 - 3:24 am:   Edit PostDelete Post

Thanks for mentioning the hotspot support. While researching my original question, I'd run across a comment about PF not supporting a specific type of hotspot and got confused.

The best solution I've found thus far is a script that swaps out the images based on MouseOver. (No panning, no zooming.)

Samples can be found here:
http://www.elfworks.com/mypics/Europa_2006/Panoramas/Venice
Top of pagePrevious messageNext messageBottom of page Link to this message

Olivier Detry
New member
Username: Kitarolivier

Post Number: 9
Registered: 4-2007
Posted on Friday, May 04, 2007 - 10:24 am:   Edit PostDelete Post

Hi !

Nice effect.

I tought you wanted to do that on a quicktime VR picture (that's why I spoke about view angle).

I saw something similar on a 3D website, showing full render, and on mouse over showing wireframe pciture.
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 4
Registered: 4-2007
Posted on Friday, May 04, 2007 - 12:20 pm:   Edit PostDelete Post

Thanks!

I had wanted to do it in a single QTVR, but this is the best I've come up with yet.

I tried the hotspot technique, but it ends up opening a new web page when I click on it. I could probably kludge a fix for that, but I'm seeing that the QTVR Panorama just might not be able to do what I wanted.

I knew that QTVR Objects supported alternate states and I was hoping that panoramas did too, but that doesn't seem to be the case.

Thanks for your help, though.
Top of pagePrevious messageNext messageBottom of page Link to this message

Olivier Detry
New member
Username: Kitarolivier

Post Number: 22
Registered: 4-2007
Posted on Thursday, September 13, 2007 - 3:51 am:   Edit PostDelete Post

Hi e flom !

I just found the DevalVR panorama viewer ! Just check here : http://www.devalvr.com/

There is a special feature for merging/swapping panos : http://www.devalvr.com/panos/multipanos/index.html

This could be great with your pictures.

Regards,

Olivier.

Top of pagePrevious messageNext messageBottom of page Link to this message

Armando
New member
Username: Fiero

Post Number: 1
Registered: 9-2007
Posted on Wednesday, September 19, 2007 - 4:10 pm:   Edit PostDelete Post

Hi Erik,

To test these images with DevalVR player only open the player, select the to files and drag and drop into the viewer window. I see that your images have less than 360 degrees. DevalVR does not support partial panoramas yet, I must add this feature.

regards!
fiero
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 5
Registered: 4-2007
Posted on Thursday, September 20, 2007 - 9:35 pm:   Edit PostDelete Post

Sorry for the delay in replying, but this week was really hectic!

I did have a chance to try it out.
This is what I ended up with:
http://www.elfworks.com/mypics/Europa_2006/03_Venice/Venice_GrandCanal_Sm_Test.html

Olivier:

Thanks for the link! That's a nice little tool for fading between multiple (360) panoramas.

Fiero:

Thanks for putting together a cool little web applet!

I hadn't tried the standalone player, but I'll check it out now! :-)

"DevalVR does not support partial panoramas yet, I must add this feature."

Yes, you must add this feature! :-)

BTW, is there a maximum image size?
I was unable to get it to work with image widths of 4096 pixels and larger.
Top of pagePrevious messageNext messageBottom of page Link to this message

Armando
New member
Username: Fiero

Post Number: 2
Registered: 9-2007
Posted on Thursday, September 20, 2007 - 9:47 pm:   Edit PostDelete Post

Hi e_flom,

The maximum image width is 32700. What was your problem?
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 6
Registered: 4-2007
Posted on Thursday, September 20, 2007 - 11:43 pm:   Edit PostDelete Post

The maximum image width is 32700. What was your problem?

It just sits there and says 'connecting....'

Here's an example:
http://www.elfworks.com/mypics/Europa_2006/03_Venice/Venice_GrandCanal_Med_Test.html

Thanks!
Top of pagePrevious messageNext messageBottom of page Link to this message

Armando
New member
Username: Fiero

Post Number: 3
Registered: 9-2007
Posted on Thursday, September 20, 2007 - 11:47 pm:   Edit PostDelete Post

You use progressive Jpeg files, this type of Jpeg files aren't supported. Try to create your file without progressive compression.

regards!
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 7
Registered: 4-2007
Posted on Friday, September 21, 2007 - 1:22 am:   Edit PostDelete Post

You use progressive Jpeg files, this type of Jpeg files aren't supported. Try to create your file without progressive compression.

That fixed it, thanks!
Top of pagePrevious messageNext messageBottom of page Link to this message

Olivier Detry
New member
Username: Kitarolivier

Post Number: 23
Registered: 4-2007
Posted on Friday, September 21, 2007 - 3:04 am:   Edit PostDelete Post

e flom :

Wow ! Your pano looks great. Nice (and probably hard to do) match between day/night views.


Fiero :

we are still waiting for partial panos :-)
Top of pagePrevious messageNext messageBottom of page Link to this message

Armando
New member
Username: Fiero

Post Number: 4
Registered: 9-2007
Posted on Friday, September 21, 2007 - 3:31 am:   Edit PostDelete Post

e flom:

How many degrees has this pano? 180?
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 8
Registered: 4-2007
Posted on Friday, September 21, 2007 - 4:43 pm:   Edit PostDelete Post

Olivier:

Wow ! Your pano looks great. Nice (and probably hard to do) match between day/night views.

Thanks! Actually, I just got really lucky with these shots.

We only had one night in Venice, so we spent a 'little' more for a hotel on the Grand Canal. (http://maps.google.com/maps?f=q&hl=en&geocode=&q=hotel+al+ponte+antico&sll=45.438397,12.33615&sspn=0.002725,0.007167&ie=UTF8&t=h&z=18&iwloc=0&om=1)

This picture was taken from the hotel's breakfast room balcony. (Our room had a view of a brick wall. But, what more did I expect for €180/night. ;)

I didn't even use a tripod. I just set the camera down on the edge of the balcony and took a series of eight shots with my Canon S2. (Six seconds/frame for the night shots.) The next morning, I got up and took another series from the same spot.

I was really happy with the results. Panorama Factory did a great job stitching them together.


Fiero:
How many degrees has this pano? 180?

Good guess. :-)

181.383 degrees, according to PanoramaFactory.

Thanks!
Top of pagePrevious messageNext messageBottom of page Link to this message

Armando
New member
Username: Fiero

Post Number: 5
Registered: 9-2007
Posted on Wednesday, September 26, 2007 - 7:25 am:   Edit PostDelete Post

Hi e flom,

I did a first attempt to support partial panoramas with DevalVR. You can download latest viewer http://www.devalvr.com/paginas/productos/index.html
You must create a new TXT file and write:

(pano)
{
type=PANORAMIC;
file="IMG_2444-2452_Venice_GrandCanal_DayNight_01_Sm.jpg";
partialwidth=181.383;
zoom=1.5;
rot=-5,52;
}

ZOOM and ROT instructions are optional to set the initial view.

Open this TXT file with the player or set this file in SRC parameter in the HTML code.

You can define a timelapse panorama with this script:

(pano)
{
type=TIMELAPSE;
file="IMG_2444-2452_Venice_GrandCanal_DayNight_01_Sm.jpg,IMG_2444-2452_Venice_GrandCanal_DayNight_00_Sm.jpg";
partialwidth=181.383;
zoom=1.5;
rot=-5,52;
}

"files" parameter is not required, you must open the TXT file directly. For better compatibility, you can rename these TXT files to .dvl (these files are named DevalVR scripts)

best regards!
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 9
Registered: 4-2007
Posted on Tuesday, October 02, 2007 - 4:13 pm:   Edit PostDelete Post

Armando:

Thanks for the update!

I apologize for the delay in replying. I tested it out over the weekend, and had varied results.

The first image I tried worked perfectly:
(You'll have to download these to view them. I set the mime-type for .dvl files to plain/text...)
http://www.elfworks.com/Travel/IMG_1909_MarinHeadlands.jpg
http://www.elfworks.com/Travel/IMG_1909_MarinHeadlands.dvl

Then I tried it with the original image from Venice, and got an error. :-(
http://www.elfworks.com/mypics/Europa_2006/03_Venice/IMG_2444-2452_Venice_GrandCanal_DayNight_00_Sm.jpg
http://www.elfworks.com/mypics/Europa_2006/03_Venice/IMG_2444-2452_Venice_GrandCanal_DayNight_00_Sm.dvl

And, here's another one that didn't work:
(You might recognize this building. :-) )
http://www.elfworks.com/mypics/Europa_2006/Panoramas/IMG_0577-5799_Valencia_City_Of_Arts-Science.mov
http://www.elfworks.com/mypics/Europa_2006/Panoramas/IMG_0577-5799_Valencia_City_Of_Arts-Science.jpg
http://www.elfworks.com/mypics/Europa_2006/Panoramas/IMG_0577-0579_Valencia_City_Of_Arts-Science.dvl

Notice that the DevalVR viewer has not trouble reading the images if you just open them up. Only one of the .dvl files seems to work.

Also, I haven't tried the TIMELAPSE option, since I couldn't get the Venice image to work. (It's the only image pair that matches up so closely.)

Top of pagePrevious messageNext messageBottom of page Link to this message

Armando
New member
Username: Fiero

Post Number: 6
Registered: 9-2007
Posted on Tuesday, October 02, 2007 - 4:24 pm:   Edit PostDelete Post

Hi e flom,

what program do you use to create TXT files? You must use a plain text editor as Notepad.

I see a lot of garbage in your second and third script. It works if you write only:

(pano)
{
type=PANORAMIC;
file="IMG_2444-2452_Venice_GrandCanal_DayNight_00_Sm.jpg";
partialwidth=181.7;
}

and:

(pano)
{
type=PANORAMIC;
file="IMG_0577-5799_Valencia_City_Of_Arts-Science.jpg";
partialwidth=84.77;
}





(Message edited by fiero on October 02, 2007)

(Message edited by fiero on October 02, 2007)
Top of pagePrevious messageNext messageBottom of page Link to this message

e flom
New member
Username: Elfworks

Post Number: 10
Registered: 4-2007
Posted on Wednesday, October 03, 2007 - 3:07 am:   Edit PostDelete Post

Armando:

Thanks!

I'll blame my problems on Windows Wordpad.

I thought I saved the file in plain text, but didn't see the garbage until I opened it in Notepad.... :-(

... And, it looks like I finally got the Mime-type set correctly, too! :-)

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Administration Administration Log Out Log Out   Previous Page Previous Page Next Page Next Page