Sie sind nicht angemeldet.

1

Freitag, 14. März 2014, 22:24

Limit downview

Hello. Though I've read a number of posts on limiting the down view, I'm not sure I'm doing it correctly. And, I'd like to do it automatically.

So, I've edited /templates/xml/default.xml, with the following:

Quellcode

1
<view hlookat="0" vlookat="0" maxpixelzoom="2.5" fovmax="110" fovtype="MFOV" limitview="lookat" vlookatmin ="-90" vlookatmax ="+22" [VIEWLIMITS]/>



Of course, this makes an XML error in browsers, since [VIEWLIMITS] also declares limitview.

So my question is, what is the correct way to always limit the down view so that the nadir (and my tripod legs) are hidden?

virtual pete

Fortgeschrittener

Beiträge: 245

Wohnort: Nerja

Beruf: Holiday rentals Nerja Costa del Sol

  • Nachricht senden

2

Samstag, 15. März 2014, 00:31

Hi, try this and tweak the vlookmin and vlookmax to suit:

<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="range" hlookatmin="-180" hlookatmax="+180" vlookatmin="-45" vlookatmax="+60" />


Another option would be to use the "nadirlogo" which will cover the tripod. You can see an example in the krpano tools examples download.

Hope it helps :)