Sie sind nicht angemeldet.

1

Dienstag, 5. September 2023, 07:26

Editing north, without affecting hotspots?

Hello,

Is there a way of editing north without affecting hotspots?

Cheers, Gregor!

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Dienstag, 5. September 2023, 14:00

Hi,

it depends a bit on what you exactly mean, and how the hotspots are placed: static/dynamically..
I think you have 2 options, up to you to decide which one does what you want.
- change the scene heading if you use gps location etc..
- change the image prealign


.. but it would help if you show us a bare bone example with what you want to change, so we can see your code set-up.

Tuur *thumbsup*

3

Donnerstag, 14. September 2023, 08:22

So I would just like to change the heading so that when going through one hotspot to another it keeps the direction accurate. What's my most efficient option?

Changing North also moves all the hotspots which I don't want to.

Cheers!
»wacou123« hat folgende Bilder angehängt:
  • North 1.JPG
  • North 2.JPG

4

Freitag, 15. September 2023, 10:21

Hi,

actually the hotspots don't move, the pano does ;-)

Try adding prealign="true" to the hotspots.

Best regards,
Klaus

5

Freitag, 15. September 2023, 11:54

Hi,

actually the hotspots don't move, the pano does ;-)

Try adding prealign="true" to the hotspots.

Best regards,
Klaus
What would this command do? (I already did everything by hand moving each hotspot)

6

Mittwoch, 20. September 2023, 19:09

Hi,

add prealign="true" to each <hotspot> in the xml.

(but note - the is a bug in the current version 1.21, distorted webgl-hotspot would have a wrong position in this case, this will be fixed in the next release).

Best regards,
Klaus