Stop beam in compass component to resize Y

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Frankster69
Posts: 105
Joined: Mon Sep 18, 2017 12:54 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: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

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,
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: 105
Joined: Mon Sep 18, 2017 12:54 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: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

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,
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: 105
Joined: Mon Sep 18, 2017 12:54 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 128 times
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

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,
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: 105
Joined: Mon Sep 18, 2017 12:54 pm

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: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Frank,
Can you post you skin?
But yes seen your video, this is an odd one.
Regards,
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: 105
Joined: Mon Sep 18, 2017 12:54 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 127 times
Frankster69
Posts: 105
Joined: Mon Sep 18, 2017 12:54 pm

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

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

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,
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