Pano2VR v4b2 Add actions to a pinned image

Q&A about the latest versions
Post Reply
User avatar
dennisvanduijn
Posts: 145
Joined: Wed Apr 28, 2010 10:56 am
Location: Gouda, Netherlands
Contact:

Hi all,

I searched and tried hours to add actions to a pinned image like I do to other elements. For example, I would like to get an object (a lamp) to lighten up at mouse-over. So I created a white picture, pinned it the lamp and added ID 'lamp'. Once in the skin editor the ID 'lamp' does not appear in the Target pulldown list in the Actions/Modifiers screen. I would like to set alpha to 0.0 as a starting point and set it to 0.5 when the mouse hovers the lamp. Does anybody know how to do this?

An example is shown here: http://www.okijk.nl/test/lamp.html

Regards,

Dennis van Duijn
Commercial 360° tours ● Gamified 360° tours ● Officially since 2010

Image

https://okijk.nl
User avatar
Hopki
Gnome
Posts: 13034
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Dennis,
Dont use the media editor to pin the image.
In the skin add the images to a hotspot template.
Then enable 3D distortion in the Hotspot template. This then pins the image to the panorama.
You can then add the actions to the images in the skin.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Hopki
Gnome
Posts: 13034
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
This uses a Hotspot template with 3D distortion, hover over the brick wall until you get the hint, then click the brick.
As its an element in the skin it can be given click actions. In this case to change position of two graphic elements.
Look on the right wall of the arch and you will also see a pinned clock, agin using a hotspot template with 3D distortion.
pinned_hotspots.swf
(1.05 MiB) Downloaded 9542 times
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
dennisvanduijn
Posts: 145
Joined: Wed Apr 28, 2010 10:56 am
Location: Gouda, Netherlands
Contact:

Hi Hopki,

Thank you for your help. I did like you said, the (messy) result can be seen here: http://www.okijk.nl/test/lamp.html. You can hover the lounge and lamp to see what I tried to accomplish. My main concern about working with a hotspot template is that it is not WYSIWYG. It is very hard to map the highlighting image over the original object without seeing which size and which position it has to have. It takes so many trial and errors that it is not workable for me. Might there be an easier way to highlight shapes in a pano?

Regards,
Dennis
Commercial 360° tours ● Gamified 360° tours ● Officially since 2010

Image

https://okijk.nl
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

You are right, trying to find the exact placement is near on impossible the way it is.
Hopki may be able to tell us of a way to get things "pixel perfect" because without a way - the feature will be very limited.
I assume Hopki has to be close to pixel perfect with his example and I would like to know how.

I attempted to do the same thing with a bottle an although I ended up with a working example. It took dozens of "guesses" and republishing each time to do something that should be reasonably simple.

Regards, Smooth 8)
Image
User avatar
dennisvanduijn
Posts: 145
Joined: Wed Apr 28, 2010 10:56 am
Location: Gouda, Netherlands
Contact:

So, Hopki, is there a slick way to do this?
Commercial 360° tours ● Gamified 360° tours ● Officially since 2010

Image

https://okijk.nl
User avatar
Hopki
Gnome
Posts: 13034
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Not at the moment, how i did this was centre the image on the hotspot template then in the hotspot editor zoom in and put the point hotspot in the centre of the area it has to be in.
If you need to fine tune this use the new tab, Hotspot List in the hotspot editor where you can edit the position of the point hotspot.
This is work in progress.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

As an idea:

What if we were to take a "patch" of an area we wish to add an item etc.
Place the item in the patch as an extra layer and then return the patch and the overlay co-ordinates.
I suppose this is not dissimilar to the way an area hotspot works with a .png file.

We must come up with a workable solution that is visually intuitive.

Regards, Smooth 8)
Image
User avatar
soulbrother
Posts: 547
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

Hopki wrote:Hi,
Not at the moment, how i did this was centre the image on the hotspot template then in the hotspot editor zoom in and put the point hotspot in the centre of the area it has to be in.
If you need to fine tune this use the new tab, Hotspot List in the hotspot editor where you can edit the position of the point hotspot.
This is work in progress.
Regards,
Hopki
Hi,
are there any news on that point, or any more helpful hints to use with V4.1 ?
User avatar
Hopki
Gnome
Posts: 13034
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Its on the to do but no updates as yet.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
soulbrother
Posts: 547
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

Hi again,

when I put a pic in the skin-editor into the hotspot ("instead of the hsimage") and activate the 3D Distortion, the picture is shown - but with 100% size.

When I zoom out, the picture is still at 100% and that means it is too large than...

What do I miss ?
User avatar
Hopki
Gnome
Posts: 13034
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
With 3D the image should appear pinned to the panorama so as you zoom in and out it will get larger and smaller with the rest of the image.
If your not seeing this can you provide some screen shots?
The distance refers to how far you are from the hotspot, so changing 500 to 1000 will make the image smaller.
Regards,
Martin
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
soulbrother
Posts: 547
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

I really don´t know why the zoom on the picture is working now correctly...

Anyhow, this works now, thanks.

BUT what is really nearly impossible and for those who wants to know what exactly we are talking about here I describe a bit deeper:
I have a panorama as usual and I have a second panorama with exactly the same measures.
One panorama of a room shows the furniture doors closed and in the other one the doors are opened.

So, the idea is simple, to have a click on the hs and the area (the picture) with opened doors should be visible exactly centered above the other (closed) doors.

My 2 panoramas are perfectly congruent.
So I just exported a partial picture with the "patch input"
Next I imported that picture in the skin editor of my "other" panorama.

And now the problem starts.
Not only that the x and y position needs to be optimized, no, it´s also neccessary to find the one optimum value for the 3D distance.
That combinations are driving me crazy...

So I ask again: Is there any helpful hint how to proceed, to possibly find an optimum value for the 3D distance without try and error method, any kind of formula?

It would be really helpul, as I have some more that only one picture and some panoramas with that need...

The faster solution would be to simply open the othe panorama as "next" panorama, but in html5 it is not as nice without the smooth transition...

It has to work in html5 also and it has to be professionally "smooth"...

Thanks in advance for any more tips.
User avatar
soulbrother
Posts: 547
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

Me again...

After several tests it seem to work o.k. for me now...

Better to use external pictures - if having more that only a few pics, or if using large areas - large pics - as the skin increases dramatically with large pictures...

The positioning is heavy, I wowish to have a more userfriendly solution on that, so if any ideas and improvements form Thomas or any other gnome will be very welcome ;-))
User avatar
Hopki
Gnome
Posts: 13034
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Thomas showed a new skin editor in Iceland which has been rewritten to handle heavier files and the undo will no longer slow things shown.
As far as positioning pinned 3D distorted images goes there are plans in the pipeline.
Need to get 4.5 beta out first then can go back to tidy things up.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply