You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, February 17th 2010, 9:46am

Mouse click coordinates in 3D (ath, atv)

Although I'm mostly familiar with API features of Krpano but still don't know how to achieve the following feature, so I would like to ask for your help. I'm working on a plugin which needs to get the mouse coordinates (ath and atv) when a user clicks with the left mouse button in 3D. It's goal would be to align some graphical elements, mainly hotspots depending on these coordinates.

Tuur

Sage

Posts: 3,831

Location: Netherlands

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

  • Send private message

2

Wednesday, February 17th 2010, 10:04am

Hi,

there are already 2 of those plugins.. one in the editor and one more somewhere on the forum..

when you make one make it cop the coordinates to clipboard..

Tuur *thumbsup*

3

Monday, February 22nd 2010, 4:28pm

Hi,

you can use the screentosphere() function for that:
http://krpano.com/docu/programming/#screentosphere

best regards,
Klaus