Hi.
How can I use tags to manage actions?...
In my case (with Pano2VR pro 5.2.4) I wish to make my menu partially disappear soon after loading (just to let the user see it and know it's there, to make it come back, if needed), but only for some panoramas.
So I built a menu, made it scroll outside the screen just after loaded, letting only a "..." text visible to make it come back when needed and it works with no problems.
But I wish this happen only for some nodes in my tour, all nodes sharing the same menu, of course. So I thought to use a tag: I assigned a tag called, say, "HideMenu", to those nodes for which I want the menu to scroll out, to manage this behaviour but... I can't make it work...
How can this be done?
Thank you.
Tags to manage actions
Hi
I am new to Pano2vr as well but by how I understand things and learning all the time Tony who answer's a lot of questions says you can do it by using actions which you can.
If you use the actions and set it to show image on the set nodes it should work for you.
This is a great reference for you to read. Helped me simply a project I was doing.
viewtopic.php?f=6&t=12892&p=53870#p53870
Hope it helps.
I am new to Pano2vr as well but by how I understand things and learning all the time Tony who answer's a lot of questions says you can do it by using actions which you can.
If you use the actions and set it to show image on the set nodes it should work for you.
This is a great reference for you to read. Helped me simply a project I was doing.
viewtopic.php?f=6&t=12892&p=53870#p53870
Hope it helps.
If it looks impossible you just have not found the right angle to view it from.
- Hopki
- Gnome
- Posts: 13025
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Using Tags is quite straightforward.
An element has logic blocks that can be used with its different attributes.
These logic blocks can react to a tag, as an example a if you add a rectangle in the skin editor then select the position logic block.
You can then set it that when the tag = xxx change position.
You can then also add a logic block to the Alpha, so if the element is set to Alpha 0, when the tag = xxx change to alpha 1.00.
In combination you can then slide the rectangle while fading it in to view.
This can the be applied to your menu.
In the attached project the rectangle is set so it is visible and position in the skin 5px from the left.
You will see a timer then when it deactivates will change the position to -160 and change the alpha to 0.
So on first open you see the rectangle for 2 seconds then it hides.
When a pano is opened with the tag it will show,
Regards,
Hopki
Using Tags is quite straightforward.
An element has logic blocks that can be used with its different attributes.
These logic blocks can react to a tag, as an example a if you add a rectangle in the skin editor then select the position logic block.
You can then set it that when the tag = xxx change position.
You can then also add a logic block to the Alpha, so if the element is set to Alpha 0, when the tag = xxx change to alpha 1.00.
In combination you can then slide the rectangle while fading it in to view.
This can the be applied to your menu.
In the attached project the rectangle is set so it is visible and position in the skin 5px from the left.
You will see a timer then when it deactivates will change the position to -160 and change the alpha to 0.
So on first open you see the rectangle for 2 seconds then it hides.
When a pano is opened with the tag it will show,
Regards,
Hopki
- Attachments
-
- hidemenu.zip
- (33.15 KiB) Downloaded 183 times
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/
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/
Thank you, Martin, but what I asked for is something different...
I'm not talking about tags to manage properties (like position, alpha etc.). I'm talking about tags to manage actions (like Trigger Click).
So I ask again: is it possible to set an action like Loaded/Trigger Click/$self, but only if a tag is present in that node?
I'm not talking about tags to manage properties (like position, alpha etc.). I'm talking about tags to manage actions (like Trigger Click).
So I ask again: is it possible to set an action like Loaded/Trigger Click/$self, but only if a tag is present in that node?
ArkiTonio
Hi ArkiTonio,
You may be referring to Action Filters. Here's an example of an Action (GotoURL) that is only active if a tag 'AllowAction' is present on the node.
https://s3-ap-southeast-2.amazonaws.com ... index.html
Here is a shot of the Skin Editor and Action Filter used in the example above;
Here are the skin and project files. Hope this helps
Cheers,
Tony
You may be referring to Action Filters. Here's an example of an Action (GotoURL) that is only active if a tag 'AllowAction' is present on the node.
https://s3-ap-southeast-2.amazonaws.com ... index.html
Here is a shot of the Skin Editor and Action Filter used in the example above;
Here are the skin and project files. Hope this helps
Cheers,
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Hi,
Yes V6 it's a new feature, very powerful.
Tony
Yes V6 it's a new feature, very powerful.
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- Hopki
- Gnome
- Posts: 13025
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Guys,
The following only applies to V6.
I guess it would be down to when the action should be triggered?
As an example, on a node change then you could use the source, "Images Ready" which is V6 speak for loaded, and then an action with an action filter.
So when the node opens with the correct tag the action can be executed.
This can also work if you have button that when clicked will do different things in different nodes.
So the Source is changed from "Images Ready" to "Mouse Click".
The one button can have many actions but only the action with the correct tag detected will be executed.
You can also use a timer to "Drive" actions, not so relevant here but still worth knowing.
As an example add a timer set to Type: Init, Timeout: 0.01, Repeat: Toggle.
Then the timer can have the action, using the source Activated with a Action Filter.
So the timber will be toggling the action very quickly but when the tag is detected the action would be executed.
This would be good when you have an Action Filter with more then one condition, example:
When Tag = xxx and pan = xxx then trigger click.
Regards,
Hopki
The following only applies to V6.
I guess it would be down to when the action should be triggered?
As an example, on a node change then you could use the source, "Images Ready" which is V6 speak for loaded, and then an action with an action filter.
So when the node opens with the correct tag the action can be executed.
This can also work if you have button that when clicked will do different things in different nodes.
So the Source is changed from "Images Ready" to "Mouse Click".
The one button can have many actions but only the action with the correct tag detected will be executed.
You can also use a timer to "Drive" actions, not so relevant here but still worth knowing.
As an example add a timer set to Type: Init, Timeout: 0.01, Repeat: Toggle.
Then the timer can have the action, using the source Activated with a Action Filter.
So the timber will be toggling the action very quickly but when the tag is detected the action would be executed.
This would be good when you have an Action Filter with more then one condition, example:
When Tag = xxx and pan = xxx then trigger click.
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/
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/