Aframe: Hotspot functionality

Created on 19 Sep 2016  Â·  14Comments  Â·  Source: aframevr/aframe

Hotspot functionality in aframe panorama,can anybody guide me or give me some clues on how to make this possible

Most helpful comment

Hi @s1mar – we'd be glad to help with your question, but could you repost it to Stack Overflow with the "aframe" tag? To get good answer, it would also be great if you could include more about what you mean by "hotspot functionality", and any code you've got so far.

We ask for questions to be put on Stack Overflow for a couple reasons: (1) new SO questions are automatically posted in Slack, so they get attention more quickly, and (2) answers on SO are easier for others to find, so your question can help others learn A-Frame too.

All 14 comments

Hi @s1mar – we'd be glad to help with your question, but could you repost it to Stack Overflow with the "aframe" tag? To get good answer, it would also be great if you could include more about what you mean by "hotspot functionality", and any code you've got so far.

We ask for questions to be put on Stack Overflow for a couple reasons: (1) new SO questions are automatically posted in Slack, so they get attention more quickly, and (2) answers on SO are easier for others to find, so your question can help others learn A-Frame too.

@donmccurdy @darkwing Please make sure the question is considered a good fit for Stack Overflow before redirecting people there or reposting support issues there. Specifically, this question is unclear and very broad.

See: What topics can I ask about here? and What types of questions should I avoid asking?

Thanks :-)

Will do. Thanks!

Sorry for the late response!!

By the "hotspot" functionality I mean,overlaying some graphic markers or icons on specific cardinal points in a vr panorama scene,clicking upon whom will take us to a new scene.

One more thing,does a-frame already comes with implementation for Yaw,Pitch & Roll or do I have to make it ?

@Carpetsmoker thanks!

@ngokevin @darkwing Based on the clarification, I guess the question would be a duplicate of this. I'm not sure how to flag it as such. Or we could fill out the question/response for a 'hotspot' that triggers events when the camera enters an area, which has been asked several times before.

@s1mar Sorry, again I don't know what you mean without more details and a demo. The rotation component is where you would start. You might also see the code for the look-controls component, which uses discrete pitch/yaw/roll to track camera orientation.

This is my sample 360ImageView
http://ensoimmersive.co.in/

How do I add Hotspot functionality in aframe panorama,can anybody guide me or give me some clues on how to make this possible

Thanks

The documentation and the guide linked above and the school all teach exactly how to add hotspots to a panorama.

@ngokevin
can you please share the link of the document adding hotspot
see this is as example one https://pannellum.org/documentation/examples/hot-spots/ I want to make it same as in A-Frame

At least say how to add the pop for those icons http://ensoimmersive.co.in/

How to add text in 360 degree photos using A-Frame
The text should be like a popup message when the cursor goes to any icons it should popup the text

Example: consider that I am in kitchen when the cursor is goes to kitchen icon it should popup the text "kitchen"

Thanks

Was this page helpful?
0 / 5 - 0 ratings