Hi Klaus.
I am working on flat Gigaixel panorama and two decimal numbers for lookat in options plugins are not enough. For setting the hotspots or layers exactly on the desired place I found I need at least 3 decimal numbers.
Is it possible to change options plugins (preferably before some major update as I can´t wait so long :)) or is there some othe method how to get this information?
Thank you very much!
BR Igor
options plugins - more decimal numbers for lookat?
-
-
Hi,
something like this?
Code
Display More<events name="coords" keep="true" onclick="MakeCoords" /> <layer name="coords" url="../plugins/textfield.swf" keep="true" align="left" width="300" height="100" backgroundcolor="0xffff00" html="ATH = [br] ATV =" selectable="true" css="text-align:left; color:#000000; font-family:Helvetica; font-weight:regular; font-size:14px;" /> <action name="MakeCoords"> screentosphere(mouse.x, mouse.y, toh, tov); set(layer[coords].html, calc:'ATH = ' + toh + '[br]ATV = ' + tov ); showlog(); trace('ATH = ', get(toh)); trace('ATV = ', get(tov)); </action>
http://www.virtualtuur.com/krpano/coords/1/index.html
Hope it helps
Tuur -
maybe you mean this?
http://www.virtualtuur.com/krpano/coords/2/index.html
Code
Display More<events name="coords" keep="true" onviewchange="MakeCoords" /> <layer name="coords" url="../plugins/textfield.swf" keep="true" align="left" width="300" height="100" backgroundcolor="0xffff00" html="" selectable="true" css="text-align:left; color:#000000; font-family:Helvetica; font-weight:regular; font-size:14px;" /> <action name="MakeCoords"> set(layer[coords].html, calc:'Hlookat = ' + view.hlookat + '[br]Vlookat = ' + view.vlookat + '[br]FOV = ' + view.fov ); delayedcall(0.01, MakeCoords()); </action>
Tuur
-
Thank you very much! Perfect!
-
Hi Igor,
here a better version with the roundval.
Code
Display More<events name="coords" keep="true" onviewchange="MakeCoords" /> <layer name="coords" url="../plugins/textfield.swf" keep="true" align="left" width="300" height="100" backgroundcolor="0xffff00" html="" selectable="true" css="text-align:left; color:#000000; font-family:Helvetica; font-weight:regular; font-size:14px;" /> <action name="MakeCoords"> <!-- 4 digits max --> roundval(view.hlookat,4); roundval(view.vlookat,4); roundval(view.fov,4); set(layer[coords].html, calc:'Hlookat = ' + view.hlookat + '[br]Vlookat = ' + view.vlookat + '[br]FOV = ' + view.fov ); </action>
Tuur
-
Hartelijk Bedankt Tuur!
-
Thank you guys, it's working well...
Just one question, could I do that just using Js? if yes, how?
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!