Stop beam in compass component to resize Y

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Frankster69
Posts: 95
Joined: Mon Sep 18, 2017 12:54 pm

Sun May 02, 2021 3:53 pm

Hi all,

In the compass component, when you zoom in or out, the length of the compass beam changes, it grows shorter or longer when zooming and jerks halfway (on desktop). Also wider, but that's good. It's about the length.

I want the beam to stay the same length, staying connected to the compass ring. How do I do this?

Looking on mobile, the length varies not with zoom, but with looking up or down. I do not want that either. It does not do this on desktop, only when zooming, not when tilting.

I found the modifier 'Scale Y cos(Tilt) 1.00 0.00'. Deleting that solved the issue on mobile: it now stays the same length if I look up or down. On mobile now it works as intended.

But on desktop, the length still varies, even though I deleted the Scale Y modifier there. I cannot find any other piece of code in the skin editor that tells it to modify Y. How can I prevent the scaling of Y when zooming on desktop.

You can see what I mean on (mobile and desktop) https://landsnatuur.nl/360vr/skytour-zevenaar/

kind regards, Frank
User avatar
Hopki
Gnome
Posts: 11512
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sun May 02, 2021 4:38 pm

Hi Frank,
Why not hide the compass if projection is not rectilinear.
Or better set the alpha to 0 but change to 1.00 when the projection is rectilinear with a transition time of 0.5.
This way it will be hidden when in a projection that can cause it to do odd things.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Frankster69
Posts: 95
Joined: Mon Sep 18, 2017 12:54 pm

Sun May 02, 2021 4:51 pm

Hi Hopki,

But... it's behaving this way in all projection types, stereographic, fisheye en rectiliniar?

Hiding it in Stereogrpahic and fisheye is perhaps a good idea, but the behavior I'm talking about is in all modes?

regards, Frank
User avatar
Hopki
Gnome
Posts: 11512
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Mon May 03, 2021 10:19 am

Hi Frank,
Looking at your link on my desktop and mobile I am not seeing what you are describing?
But not to worry.

If you are still seeing this on the desktop then it can only be one of two things.
1) your desktop browser has cached the files and so still show the old skin, clear your browser cache
2) you have two radars in the skin, one for mobile and one for desktops, if this is the case then you need to remove the modifier from the desktop radar as well

Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Frankster69
Posts: 95
Joined: Mon Sep 18, 2017 12:54 pm

Sat May 08, 2021 3:00 pm

Hi Hopki,

Upon further inspection after your reply it seems to only do this on Firefox, my default browser. It indeed does NOT do it on Chrome or Edge.

See attached screenrecording. Any chance I can fix this for Firefox?

regards, Frank
Attachments
20210508145745.mp4
(7.15 MiB) Downloaded 18 times
User avatar
Hopki
Gnome
Posts: 11512
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sun May 09, 2021 9:45 pm

Hi Frank,
If you have removed the scale Y modifier from the beam graphic then you may be seeing the browser cache. It either works in all browsers or is doesn’t.
Clear the browser cache in Firefox.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Frankster69
Posts: 95
Joined: Mon Sep 18, 2017 12:54 pm

Thu May 13, 2021 4:31 am

Hi Hopki,

I have cleared my cache, closed my browser, restarted my PC... it still remains. I'm at a loss. Have you seen the video attachment? It is still doing that.

regards, Frank
User avatar
Hopki
Gnome
Posts: 11512
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Thu May 13, 2021 7:19 pm

Hi Frank,
Can you post you skin?
But yes seen your video, this is an odd one.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Frankster69
Posts: 95
Joined: Mon Sep 18, 2017 12:54 pm

Thu May 13, 2021 7:45 pm

Hi Martin,

Yes of course, here it is!

I've just started a new project, added the compass and have exactly the same issue. I'm already happy it works fine on most browsers, I only hope to get Firefox playing nice too :-)

kind regards, Frank
Attachments
Landsnatuur-skytour-beta22.ggsk
(1.17 MiB) Downloaded 12 times
Frankster69
Posts: 95
Joined: Mon Sep 18, 2017 12:54 pm

Sun May 30, 2021 3:29 am

Hi Martin, have you had a chance to look at it?

regards, Frank
User avatar
Hopki
Gnome
Posts: 11512
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sun May 30, 2021 8:03 pm

Hi Frank,
In the element: Compass => BeamDot => CompassBeam you have the modifier, Scale X, tan(FoV), 1.00, 0.0.
This is what changes the width of the beam with zoom.
There is no modifier that changes the length (Scale Y).
This is the same for Compass-m.
If you are seeing the length change with tilt, you must be using a different skin.
Testing your link again: https://landsnatuur.nl/360vr/skytour-zevenaar/
I do not see the beam change length with tilt.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply