home

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

Can i add hotspots rollover image in ...

The Panorama Factory Forum » The Panorama Factory FAQ » Can i add hotspots rollover image in Panorama Factory? « Previous Next »

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

Simeon
New member
Username: Domblade04

Post Number: 1
Registered: 3-2008
Posted on Saturday, March 01, 2008 - 5:07 am:   Edit PostDelete Post

Does tis software enable be to create an image rollover qtvr? Which means that when the mouse rollsover an area, the image changes. An example is mouse rollover the door opens and click will link into the room. If cant, what software to use to make this qtvr? I do not want to use flash.
Top of pagePrevious messageNext messageBottom of page Link to this message

David Richardson
New member
Username: Customdavid

Post Number: 28
Registered: 1-2006
Posted on Tuesday, March 04, 2008 - 1:58 pm:   Edit PostDelete Post

Simeon -

I thought I replied to this yesterday, but looks like I missed a step. Yes you can do hot spot image rollovers. I have done one or two just to try it and it was very easy. Only took a couple of minutes.

John has an example here:

http://www.panoramafactory.com/vtour/index.html

This should give you an idea of what is possible.

Hope this helps,

David
Top of pagePrevious messageNext messageBottom of page Link to this message

Mateusz
New member
Username: Cady_fat_cat

Post Number: 1
Registered: 4-2008
Posted on Friday, April 04, 2008 - 5:01 am:   Edit PostDelete Post

Hi! I'm also interesting in creating rollover images but in PTViewer. But I don't know how. In those examples you posted I can't see any image showing in hotspots when I rollover the mouse. When I set hotspots in PF and then make a pano with PTViewer hotspots are shown in a simple white box with text or a as a shape (dot, circle, etc which is always red even when I change the color to other). Is it possible to change it so I could set a jpg image instead of that white box/shape?
Top of pagePrevious messageNext messageBottom of page Link to this message

David Richardson
New member
Username: Customdavid

Post Number: 33
Registered: 1-2006
Posted on Friday, April 04, 2008 - 12:25 pm:   Edit PostDelete Post

You could use something like Photoshop and put the jpg into your final image where you wanted the hotspot. Then merge your photo's and set the hotspot to be the same place as your jpg overlay.

Just a thought,

David
Top of pagePrevious messageNext messageBottom of page Link to this message

Mateusz
New member
Username: Cady_fat_cat

Post Number: 3
Registered: 4-2008
Posted on Friday, April 04, 2008 - 1:02 pm:   Edit PostDelete Post

Thanks for answer. That's a smart idea but such hotspot images will last on the pano and there wont be possibility to show/hide then using the toolbar button in the PTViewer.
Top of pagePrevious messageNext messageBottom of page Link to this message

David Richardson
New member
Username: Customdavid

Post Number: 35
Registered: 1-2006
Posted on Friday, April 04, 2008 - 1:09 pm:   Edit PostDelete Post

Got me there. As I mentioned in a previous post, I have tried them, but do not use them with my images.

Maybe John has some ideas.

David
Top of pagePrevious messageNext messageBottom of page Link to this message

John Strait
Moderator
Username: Jstrait

Post Number: 351
Registered: 5-2001
Posted on Friday, April 04, 2008 - 1:23 pm:   Edit PostDelete Post

To do fancy things with PTViewer, you'll need to edit the HTML code written by The Panorama Factory. PTViewer is not our own product. We support the basic features in the VR viewers (PTViewer and QuickTime) but we don't directly support the more advanced features.

Fortunately, because PTViewer is scripted through the HTML web page, you can edit the HTML code yourself to make it do things that are not directly supported by The Panorama Factory.

Basic documentation for PTViewer V2.5 is here:
http://webuser.hs-furtwangen.de/~dersch/PTVJ/doc.html

Also look here for information about PTViewer V2.8:
http://www.fsoft.it/panorama/ptviewer.htm
http://www.fsoft.it/panorama/PTViewer/PT_Reference.htm

According to the basic PTViewer documentation, you can make a hotspot image with the "i" parameter and make it a rollover with the "p" parameter. When I tested this, I could make it work as a simple hotspot image, but it would not popup when the mouse rolled over it. However, it did display when you click the hotspot toolbar button.

To edit the HTML code written by The Panorama Factory, you typically need to make each change in two places. This is because The Panorama Factory uses JavaScript code to implement things like initial viewpoint and hotspot bookmarks. So, for example, if you use The Panorama Factory to create a hotspot, you'll see lines like these for each hotspot in the HTML file:

document.writeln(' <param name=hotspot0 value="x2515.0 y723.0 a2759.0 b908.0 cff0000 n\'Rectangle2\'">');

<param name=hotspot0 value="x2515.0 y723.0 a2759.0 b908.0 cff0000 n'Rectangle2'">

You have to change both lines. And (only) in the one starting with "document.writeln", you have to put a \ before each '. So, for example, to add a hotspot image called "myimage.gif", you would change these lines to be:

document.writeln(' <param name=hotspot0 value="x2515.0 y723.0 a2759.0 b908.0 cff0000 n\'Rectangle2\' p i\'myimage.gif\'">');

<param name=hotspot0 value="x2515.0 y723.0 a2759.0 b908.0 cff0000 n'Rectangle2' p i'myimage.gif'"}

As I said earlier, however, even though the PTViewer documentation says that a "p" will make the hotspot a rollover popup, this did not work for me. Maybe you will have better luck!

Hope this helps!
Top of pagePrevious messageNext messageBottom of page Link to this message

Mateusz
New member
Username: Cady_fat_cat

Post Number: 4
Registered: 4-2008
Posted on Friday, April 04, 2008 - 1:46 pm:   Edit PostDelete Post

Awesome!! It works!! Thanks!! Even the rollover popup effect with the 'p' parameter works properly!! Great!! I don't know if it's important but I put "p" after i\'myimage.gif\', not before.

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