Page 1 of 1

Stop beam in compass component to resize Y

Posted: Sun May 02, 2021 3:53 pm
by Frankster69
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

Re: Stop beam in compass component to resize Y

Posted: Sun May 02, 2021 4:38 pm
by Hopki
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,

Re: Stop beam in compass component to resize Y

Posted: Sun May 02, 2021 4:51 pm
by Frankster69
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

Re: Stop beam in compass component to resize Y

Posted: Mon May 03, 2021 10:19 am
by Hopki
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,

Re: Stop beam in compass component to resize Y

Posted: Sat May 08, 2021 3:00 pm
by Frankster69
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

Re: Stop beam in compass component to resize Y

Posted: Sun May 09, 2021 9:45 pm
by Hopki
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,

Re: Stop beam in compass component to resize Y

Posted: Thu May 13, 2021 4:31 am
by Frankster69
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

Re: Stop beam in compass component to resize Y

Posted: Thu May 13, 2021 7:19 pm
by Hopki
Hi Frank,
Can you post you skin?
But yes seen your video, this is an odd one.
Regards,

Re: Stop beam in compass component to resize Y

Posted: Thu May 13, 2021 7:45 pm
by Frankster69
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

Re: Stop beam in compass component to resize Y

Posted: Sun May 30, 2021 3:29 am
by Frankster69
Hi Martin, have you had a chance to look at it?

regards, Frank

Re: Stop beam in compass component to resize Y

Posted: Sun May 30, 2021 8:03 pm
by Hopki
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,