CaveView.js
CaveView.js copied to clipboard
Tile in MacOSX doesn't work
The "middle wheel" on Apple Magic mouse produce only zoom effect not tile/pan as it should.
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
The same result, only +-zoom efect
For example in Loch viewer it works as expected.
Regards
Martin
- 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.
OK, Thanks for testing.
Which browser(s) did you use? I'll have to get the retired iMac and have a Magic Mouse.
Angus
Safari
Martin
Odesláno z iPhonu
-
- 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.
The Firefox too.
Martin
- 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.
The test copy now allows you to switch between zoom and tilt with CTRL-E key combination. Does this work for you?
Angus
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
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
This is screenshot of the window of CaveView2 from zip file. Paths checked many times.
Best regards
Martin
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 .
- 2020 v 20:37, aardgoose [email protected]:
was there an attachment with the screen shot? I think you might have missed
Sorry:
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:
- 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 .
- 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
- 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
Hi,
after compilation from sources the CaveView2.js works.
Martin
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
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
Thanks
Martin
Odesláno z iPhonu
-
- 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.
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
Hi Martin,
Thanks! You are very welcome to add it to the Therion site. Glad you like it.
Cheers Angus
Thanks
Martin
- 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.