I want a linear and circular Compass in my GUI, like in DevalVR (http://www.devalvr.com).
I think it's a new plugin in krpano...
Compass...
-
-
I don't have the devalVR plugin... so I don't know what the devalVR one looks like...
but are you looking for something like this...
http://www.krpano.com/examples/108b7…ss/compass.html
?
-
Yes!
It's great!
How can I get that compass?
Thank you.
Sergio. -
Just look at the source, is amazingly simply! Klaus, you are king!
-
Tell me how to download the complete compass example...
Thank you...
Gracias. -
Tell me how to download the complete compass example...
Thank you...
Gracias.http://www.krpano.com/examples/108b7…ass/compass.xml
Look at the xml, It's several images stacked on eachother
-
Ok.
Thank you. -
Hi, the xml files of the examples are also included in the download
-
Thank you Klaus for this compas it's great!
A virtual tour in Marseilles with it:http://www.spheerique.com/spheros/visite…enotredame.html
Could you make a compass with an altimeter like in the planes, it wil be great+++++++!
Thank you -
Could you make a compass with an altimeter like in the planes, it wil be great+
Hi, sorry, I don't understand - an "altimeter" in a pano???
what should it display? the height doesn't change while looking around? -
I am guessing he means tilt, when you look up and down.
-
Sorry Klaus, I'm Germain alias Spheerique, I meaned inclinometer and not altimeter !! I think YOU can make that !
-
Hi,
yes, such should be possible,
here is a very quick try:http://www.krpano.com/examples/108b7…2/compass2.html
xml:
http://www.krpano.com/examples/108b7…s2/compass2.xmlthere is a fixed mask, and a image (this here) that was masked with it, was moved up and down,
best regards,
Klaus -
Thank you a lot ++++++ Klaus ! and the fastet one! It's great!
Vielen danke Klaus! du bist der beste und der schneller ! es ist superCrass !! -
damn!! all with XML :D
-
wow Klaus kicks ass ... that is cool.
-
An exemple of the use of the new compass + inclinometer made by Klaus
http://www.spheerique.com/spheros/flaneuse6c.html -
the inclinometer is not working correctly on your example germain, it disappears at about half way up or down
-
Yes . But i don't know what to do against that !
-
It looks like you tried to implement it just as Klaus did with one exception...
where Klaus has...
Code
Display More<action name="onviewchange"> sub(plugin[compass_pointer].rotate, view.hlookat, heading); sub(plugin[compass2_plate].rotate, heading, view.hlookat); div(tiltpos, view.vlookat, -180); mul(tiltmax, plugin[tiltmeter].height, 0.45); mul(plugin[tiltmeter].oy, tiltpos, tiltmax); </action>
... you have for the "div(tiltpos... " line
so, maybe the difference between using -40 and -180 would cause it.
I haven't walked myself through how to use the mask or laid out the math on this example... just pointing out some differences that might be an area to look at.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!