CaveView.js icon indicating copy to clipboard operation
CaveView.js copied to clipboard

Tile in MacOSX doesn't work

Open martinsluka opened this issue 5 years ago • 21 comments

The "middle wheel" on Apple Magic mouse produce only zoom effect not tile/pan as it should.

martinsluka avatar Sep 03 '19 14:09 martinsluka

As I understand it, the magic mouse only generates left and right 'button' events, I assume that Therion , using X Window is using the emulate 3 button option and detects nearly simultaneous left and right button events to generate a middle button event.

I have put a test version that attempts to emulate this behaviour: here

Can you test this?

Thanks

aardgoose avatar Sep 05 '19 19:09 aardgoose

The same result, only +-zoom efect

For example in Loch viewer it works as expected.

Regards

Martin

    1. 2019 v 21:11, aardgoose [email protected]:

As I understand it, the magic mouse only generates left and right 'button' events, I assume that Therion , using X Window is using the emulate 3 button option and detects nearly simultaneous left and right button events to generate a middle button event.

I have put a test version that attempts to emulate this behaviour: here https://aardgoose.github.io/CaveView.js/test.html Can you test this?

Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aardgoose/CaveView.js/issues/17?email_source=notifications&email_token=ABW2U7VVRBYQTPQORUC5HP3QIFKVVA5CNFSM4ITG6SPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ANKFQ#issuecomment-528536854, or mute the thread https://github.com/notifications/unsubscribe-auth/ABW2U7UCB7BUVRBEZYVBZQTQIFKVVANCNFSM4ITG6SPA.

martinsluka avatar Sep 06 '19 08:09 martinsluka

OK, Thanks for testing.

Which browser(s) did you use? I'll have to get the retired iMac and have a Magic Mouse.

Angus

aardgoose avatar Sep 06 '19 11:09 aardgoose

Safari

Martin

Odesláno z iPhonu

    1. 2019 v 13:17, aardgoose [email protected]:

OK, Thanks for testing.

Which browser(s) did you use? I'll have to get the retired iMac and have a Magic Mouse.

Angus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

martinsluka avatar Sep 06 '19 11:09 martinsluka

The Firefox too.

Martin

    1. 2019 v 13:17, aardgoose [email protected]:

OK, Thanks for testing.

Which browser(s) did you use? I'll have to get the retired iMac and have a Magic Mouse.

Angus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aardgoose/CaveView.js/issues/17?email_source=notifications&email_token=ABW2U7QCQMV2LJL4BAGEDP3QII35LA5CNFSM4ITG6SPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6CRIQI#issuecomment-528815169, or mute the thread https://github.com/notifications/unsubscribe-auth/ABW2U7W7VSAKRGVDTSJLK53QII35LANCNFSM4ITG6SPA.

martinsluka avatar Sep 06 '19 12:09 martinsluka

The test copy now allows you to switch between zoom and tilt with CTRL-E key combination. Does this work for you?

Angus

aardgoose avatar Sep 10 '19 15:09 aardgoose

Hi, Angus,

I’m trying to add CaveView into my pages.

There is one important problem: the javascript file on from your project doesn’t work, the JS window is OK, but script is not able to find 3d file. Drag/Drop works. After recompilation from source it works as expected.

Another problem I found is the example files don’t work. There should be made a modifications. Stacho Mudrak sent me working file I use (origin from UK catalog).

And in Full Screen mode the HUD is in middle of window, not in right-bottom one.

My test project: https://jakupica.sss.sk/test_CaveView

Best regards

Martin

martinsluka avatar May 06 '20 20:05 martinsluka

I apologize myself, I din’t understand Stacho wrote me. Javascript is not binary and compiled!

He had to download another file CaveView2.js from you page which works.

So the problem that file CaveView2.js from .zip file from your page doesn’t work.

Best regards

Martin

Hi, Angus,

I’m trying to add CaveView into my pages.

There is one important problem: the javascript file on from your project doesn’t work, the JS window is OK, but script is not able to find 3d file. Drag/Drop works. After recompilation from source it works as expected.

Another problem I found is the example files don’t work. There should be made a modifications. Stacho Mudrak sent me working file I use (origin from UK catalog).

And in Full Screen mode the HUD is in middle of window, not in right-bottom one.

My test project: https://jakupica.sss.sk/test_CaveView https://jakupica.sss.sk/test_CaveView

Best regards

Martin

martinsluka avatar May 07 '20 07:05 martinsluka

This is screenshot of the window of CaveView2 from zip file. Paths checked many times.

Best regards

Martin

martinsluka avatar May 07 '20 07:05 martinsluka

Hi Martin,

was there an attachment with the screen shot? I think you might have missed it.

Regards

Angus

On Thu, 7 May 2020 at 08:35, Martin Sluka [email protected] wrote:

This is screenshot of the window of CaveView2 from zip file. Paths checked many times.

Best regards

Martin

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aardgoose/CaveView.js/issues/17#issuecomment-625084319, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEPPLX3ORL7RULL2EB3GDLRQJQETANCNFSM4ITG6SPA .

aardgoose avatar May 07 '20 18:05 aardgoose

    1. 2020 v 20:37, aardgoose [email protected]:

was there an attachment with the screen shot? I think you might have missed

Sorry:

martinsluka avatar May 07 '20 19:05 martinsluka

Martin,

Interesting.. your test site looks ok to me in Chrome and Firefox on Windows 10. I get an issue with full screen when using Edge (what MS are calling Edge Legacy now they are moving to a Chromium base), which is what you might be seeing. The graphics canvas isn't resizing to match the screen in that case for some reason, probably an event not being sent by Edge. I'll investigate.

What browser are you using? I'll be putting up a new version soon with GLTF export soon, which I'll make sure fix any issues with the .zip file.

Regards

Angus

On Thu, 7 May 2020 at 20:05, Martin Sluka [email protected] wrote:

    1. 2020 v 20:37, aardgoose [email protected]:

was there an attachment with the screen shot? I think you might have missed

Sorry:

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aardgoose/CaveView.js/issues/17#issuecomment-625440936, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEPPLRLL42WCT65NZIAM73RQMA7XANCNFSM4ITG6SPA .

aardgoose avatar May 07 '20 20:05 aardgoose

    1. 2020 v 22:26, aardgoose [email protected]:

Interesting.. your test site looks ok to me in Chrome and Firefox on Windows 10. I get an issue with full screen when using Edge (what MS are calling Edge Legacy now they are moving to a Chromium base), which is what you might be seeing. The graphics canvas isn't resizing to match the screen in that case for some reason, probably an event not being sent by Edge. I'll investigate.

What browser are you using? I'll be putting up a new version soon with GLTF export soon, which I'll make sure fix any issues with the .zip file.

Hi,

the javascript on my page is grabbed from from your demo page. With .js from .zip file it didn’t work.

The screenshot is from Safari on Mac, but tested with Firefox.

Martin

martinsluka avatar May 08 '20 09:05 martinsluka

    1. 2020 v 22:26, aardgoose [email protected]:

I'll be putting up a new version soon with GLTF export soon, which I'll make sure fix any issues with the .zip file.

There are some problems with language file too. You changed the name of it, I think.

Martin

martinsluka avatar May 08 '20 09:05 martinsluka

Hi,

after compilation from sources the CaveView2.js works.

Martin

martinsluka avatar May 11 '20 13:05 martinsluka

Hi,

I’m able to compile CaveView from source, but when I tried to run a demo I receive next error message:

failed load cave information.

Best regards

Martin

martinsluka avatar May 31 '20 18:05 martinsluka

Martin

I suspect that you need to set the config property 'surveyDirectory' to the correct location to find your survey file.

You will probably see a network error in the developer tools network request panel or equivalent. I'll improve the error message so it is more obvious what is going wrong here.

The examples use absolute paths (eg below), so maybe if you are using code from an example in a subdirectory you need to use a relative path.

viewer = new CV2.CaveViewer( 'scene', {
	terrainDirectory: '/terrain/',
	surveyDirectory: '/surveys/'
} );

Angus

aardgoose avatar Jun 06 '20 15:06 aardgoose

Thanks

Martin

Odesláno z iPhonu

    1. 2020 v 17:38, aardgoose [email protected]:

Martin

I suspect that you need to set the config property 'surveyDirectory' to the correct location to find your survey file.

You will probably see a network error in the developer tools network request panel or equivalent. I'll improve the error message so it is more obvious what is going wrong here.

The examples use absolute paths (eg below), so maybe if you are using code from an example in a subdirectory you need to use a relative path.

viewer = new CV2.CaveViewer( 'scene', { terrainDirectory: '/terrain/', surveyDirectory: '/surveys/' } ); Angus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

martinsluka avatar Jun 06 '20 16:06 martinsluka

Hi Angus,

you may check your CaveView installed on pages of Therion: https://therion.speleo.sk/cv/ https://therion.speleo.sk/cv/

Awesome viewer now!

It is not public yet, because we should ask you for permission first to use your product (yes,we know it is MIT License) on paged of another product. If you have nothing against it, we would add CaveView to menu on pages of Therion’s pages.

Best regards

Martin

martinsluka avatar Jun 08 '21 14:06 martinsluka

Hi Martin,

Thanks! You are very welcome to add it to the Therion site. Glad you like it.

Cheers Angus

aardgoose avatar Jun 10 '21 20:06 aardgoose

Thanks

Martin

    1. 2021 v 22:05, aardgoose @.***>:

Hi Martin,

Thanks! You are very welcome to add it to the Therion site. Glad you like it.

Cheers Angus

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aardgoose/CaveView.js/issues/17#issuecomment-859004355, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABW2U7SEHCTBTDWDWUSZLALTSELJVANCNFSM4ITG6SPA.

martinsluka avatar Jun 10 '21 20:06 martinsluka