Sie sind nicht angemeldet.

Gerard

Anfänger

  • »Gerard« ist der Autor dieses Themas

Beiträge: 13

Wohnort: Netherlands

Beruf: Professional Photographer

  • Nachricht senden

1

Samstag, 5. Februar 2011, 14:43

loadpano

Hi,

I have made a virtual tour of several flat-180-degrees-panoramas.

By changing the panorama I want to open this new panorama in a specific fov and also in a specific h/v lookat angle.

This code in the flatskin works perfect to get the proper fov

Quellcode

1
onclick="loadpano('pano-01.xml', view.fov=0.20, MERGE, BLEND(2));"


How do I have to put the h/v/lookat -0.17/0.02 within that code *question*

I hope you can help *confused*

Thanks, Gerard

2

Samstag, 5. Februar 2011, 17:35

Hi!

You can do it in the following way:

Quellcode

1
onclick="loadpano('pano-01.xml', view.fov=0.20&view.hlookat=-0.17&view.vlookat=0.02, MERGE, BLEND(2));"

Maybe it would be useful: loadpano function documentation.

Gerard

Anfänger

  • »Gerard« ist der Autor dieses Themas

Beiträge: 13

Wohnort: Netherlands

Beruf: Professional Photographer

  • Nachricht senden

3

Samstag, 5. Februar 2011, 19:14

Hi Jaydee,

It works perferctly.

Thanks a lot.

Gerard