About animated hotspot possiblities

Q&A about the latest versions
Post Reply
User avatar
chris15326
Posts: 32
Joined: Wed May 15, 2019 11:29 am

About animated hotspot possiblities

Post by chris15326 » Thu Jul 18, 2019 11:50 pm

Hey there! :mrgreen:

So far I understood that we can't load simply animated png's or animated gif's for an animated hotspot.

We need to use the timer mechanics shown inside of the tutorial "Creating Animated Point Hotspots -- Pano2VR", right?

And when this is true, basically animated hotspot in pano2vr can only consist out of object transformations like enlarging something or transform a shape or figure by playing around with its x or y value.

Basically the following is the maximum possible, right? : https://londonrevolution.net/WIP/timer/markers.html

Thanks for your time and answer

With kind regards
Chris

User avatar
Hopki
Gnome
Posts: 9653
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: About animated hotspot possiblities

Post by Hopki » Fri Jul 19, 2019 12:12 am

Hi Chris,
Not true, you use an external loader to display animated GIF or PNG.
So add the animated image to the project as an asset, then point the external image loader to it.
Regards,
Hopki

User avatar
chris15326
Posts: 32
Joined: Wed May 15, 2019 11:29 am

Re: About animated hotspot possiblities

Post by chris15326 » Fri Jul 19, 2019 10:21 am

Sounds interesting! SInce I already got a set of animated png's this would be the easiest way for me now. Either way I want to learn the animation progress but for the sake of missing time right now this would be an awesome shortcut. I will test this later and if it works I will post it here as well for others :- )

User avatar
chris15326
Posts: 32
Joined: Wed May 15, 2019 11:29 am

Re: About animated hotspot possiblities

Post by chris15326 » Fri Jul 19, 2019 4:43 pm

I added the external image loader but I only can find the option to link a URL, how can I make it point to an asset?

When I add the path of the image directly as image it works but not with the external image loader :o

The image loader solution would be amazing since I can save it as component

Image

User avatar
Hopki
Gnome
Posts: 9653
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: About animated hotspot possiblities

Post by Hopki » Fri Jul 26, 2019 6:36 pm

Hi Chris,
You enter the file path to the image in the URL field.
As an example in Pano2VR 6, we have an add assets section at the bottom of the Advanced Tab of the HTML5 output.
So you would use this for your image and when you click Create All, it will place your image in a folder called assets.
So the path in the external loader will be, assets/imagename.jpg.
Regards,
Hopki

PLaine
Posts: 39
Joined: Thu Jun 15, 2017 3:56 pm

Re: About animated hotspot possiblities

Post by PLaine » Tue Sep 24, 2019 2:52 pm

Hi,

Please, is there any example anywhere? I'm not sure to have completely understood.

Thanks

User avatar
Hopki
Gnome
Posts: 9653
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: About animated hotspot possiblities

Post by Hopki » Fri Oct 04, 2019 11:11 pm

Hi,
Please see the attached project.
Note, under the Advanced tab of the HTML5 output you will see the two images.
This creates a folder in the output folder called assets and places the images in the folder.

The external loader has its URL set to assets/cat.jpg so displays the cat image.
The two text boxes have set value actions to swap out the images in the external loader.
Regards,
Hopki
Attachments
external_loader.zip
(18.1 KiB) Downloaded 20 times

PLaine
Posts: 39
Joined: Thu Jun 15, 2017 3:56 pm

Re: About animated hotspot possiblities

Post by PLaine » Sat Oct 05, 2019 9:55 pm

Hi Hopki,

Many thanks for this template. It works fine with my .gif!
...but what if I want to use this animated gif as custom hotspot image? The gif is greyed when I try to choose a 'custom image' in 'point hotspot' tab.

Kind regards

Philippe

User avatar
Hopki
Gnome
Posts: 9653
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: About animated hotspot possiblities

Post by Hopki » Tue Oct 08, 2019 5:22 pm

Hi Philippe,
Can you post your custom image?
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests