Hello friends
There is a tour (for some reason I was only able to post the old version of the tour, where, you can't hit the walls, but you can still move around the apartment by clicking on the floor) : [size=10]http://ekb2030.ru/primer_01/tour.html[/size]
In this tour there is an stl model representing an apartment. This stl model is located in the depthmap url of the forty scenes . These scenes contain 40 different cameras with forty panoramas. This amount is due to the creation of a very soft movement inside the apartment.
To create such a movement, we created forty invisible hotspots on the floor, that is, one hot spot contained one camera. But this solution (apart from spending a lot of time) does not allow you to display a cursor on the floor (this cursor : https://vk.com/away.php?to=ht…e-2.xml&cc_key=).
One of the solutions to the problem of moving between cameras, in our opinion, is:
1. Placement of dotted hotspots on the floor, let's say 1px * 1px in size, which will be almost impossible to click on.
2. Code creation. When clicked, the code calculates the coordinates of the click in the floor plane (x,y). It finds the nearest sharpened hotspot to the click location, after which it moves to this hotspot.
The question is how can this be done???
If you know how to implement it, or you have alternative solutions to the problem described above, then I would appreciate your help.