Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comThis post has been edited 1 times, last edit by "Jarredja" (Feb 11th 2011, 5:28pm)
the editor and options plugins must be always from the same version and build as the krpano.swf,I also have the last KRpano.swf, etc versions.
The options works but the editor reports wrong KRpano version.
that cursorposition plugin was from a time, where the mouse.x, mouse.y variables and the screen2sphere action weren't available, but now with them it's possible to add something like the cursorpositon plugin just with xml code,
Quoted
I meant that it would be a good idea for Klaus to add it in to the plugin folder. I am sure it was not intentional to exclude it from the plugins folder. It was originally a quick fix for a specific request. I agree it should even have it's own page link in the online plugin section.
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
<textstyle name="showcursorposition" origin="lefttop" edge="lefttop" xoffset="10" yoffset="10" /> <action name="showcursorposition"> screentosphere(mouse.x,mouse.y,msath,msatv); roundval(msath,2); roundval(msatv,2); txtadd(text,'x=',get(mouse.x),'[br]y=',get(mouse.y),'[br]ath=',get(msath),'[br]atv=',get(msatv)); showtext(get(text),showcursorposition); delayedcall(0.01, showcursorposition()); </action> |
but I agree that the options or editor plugin should have such functionality and I will try to add such there,
(btw - I just want to note that - with the editor plugin it is possible to move hotspots by the mouse, so you could also move the hotspot and get the ath/atv coordinates from the xml),
but I agree that the options or editor plugin should have such functionality and I will try to add such there,
(btw - I just want to note that - with the editor plugin it is possible to move hotspots by the mouse, so you could also move the hotspot and get the ath/atv coordinates from the xml),
in this case simply use the current krpano.swf from version 1.0.8.12 when using the editor plugin,OK that was what I wanted to look after in the editor. But now I can not use it with the current upadate.
how did you include the both plugins? (same names maybe?)No problem the cursorposition.swf works fine except for one thing. It is not compatible with the options.swf.
If you ad the cursorposition.swf the options plugin does not show up.
No problem the cursorposition.swf works fine except for one thing. It is not compatible with the options.swf.
If you ad the cursorposition.swf the options plugin does not show up.