You are not logged in.

1

Thursday, September 27th 2012, 8:58am

Locked Nadir logo

Dear all,

I am new here and also new to krpano, recently bought it and am very much impressed by how it works. I saw a couple of examples where people had a transparent logo on the nadir, that was sort of a separate layer that did not move (locked). Now with any given program I can make transparent png file (or what ever) and patch it onto the _d (down image). However I am looking for a way to let the image (or text) be locked in position, so if you turn the panorama, the image stay in position at the nadir point without turning.

I don't know if this makes sense. Hopefully you guys know what I am talking about. -> http://krpano.com/examples/108b8/example…nadir-logo.html

Thank you very much.

Paul

2

Thursday, September 27th 2012, 9:17am

Hi,

note - this example is also included in the viewer download package!

It works like that - a hotspot image will be placed at the nadir location (ath=0, atv=90) and automatically rotated together with the view.

Here a xml example code for including the hotspot image (change it's size with the scale setting there) and an event that will rotate it:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
<hotspot name="nadirlogo" keep="true"
         url="logo.png"
         ath="0"
         atv="90"
         distorted="true"
         scale="1.0"
         rotate="0.0"
         enabled="false"
         />

<events name="nadirlogo_automatic_rotation" keep="true"
        onviewchange="copy(hotspot[nadirlogo].rotate, view.hlookat);"
        />


(btw - remove the keep="true" if you don't want that logo on all panos)

Best regards,
Klaus

3

Thursday, September 27th 2012, 9:22am

That easy he? :)

Great I am going to experiment with it right away!

Danke! *g*