blaze33 / map33.js

A JavaScript library to make 3D maps with three.js.
https://map33.openbloc.com
MIT License
424 stars 41 forks source link

Live demo fail #6

Open cromatikap opened 4 years ago

cromatikap commented 4 years ago

Hi,

I just got here casually and tried the Live Demo and I got this result

openbloc

I'm on Arch linux using Firefox

blaze33 commented 4 years ago

Hi, seems like the mesh is not generated correctly for some reason. Is there any error message in the console ?

cromatikap commented 4 years ago
Loading failed for the <script> with source “https://www.googletagmanager.com/gtag/js?id=UA-40941674-4”. map33.openbloc.com:1:1
Object { loc: (2) […], center: {…} }
index.js:342:12
Object { scene: {…}, camera: {…}, source: {…}, geoLocation: (2) […], nTiles: 3, zoom: 11, options: undefined, tileSize: 600, tileCache: {…}, center: {…} }
index.js:97:8
The operation is insecure. serviceWorker.js:138:16
    121 serviceWorker.js:138
Blocked https://map33.openbloc.com/ from extracting canvas data because no user input was detected.
blaze33 commented 4 years ago

Could you confirm you have the latest code from master, if not, can you re-test with it ?

cromatikap commented 4 years ago

It's the live demo whose the link come from README.md on the master branch. I didn't clone the repo.

Just saying, you can check with Firefox and a linux distro if not done before but this issue is probably not a big deal at the moment :)

blaze33 commented 4 years ago

Oh okay, well I'm already developing on Ubuntu using Firefox, so I'm not sure why it would fail for you...

cromatikap commented 4 years ago

Maybe something related to GPU driver? I don't know much about it. I don't know if it will be useful for you but I can give you this command result:

$ lspci -v
...
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02) (prog-if 00 [VGA controller])
    DeviceName: VGA
    Subsystem: ASUSTeK Computer Inc. Device 12cf
    Flags: bus master, fast devsel, latency 0, IRQ 140
    Memory at b2000000 (64-bit, non-prefetchable) [size=16M]
    Memory at 90000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 4000 [size=64]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915
...
02:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
    DeviceName: Second VGA
    Subsystem: ASUSTeK Computer Inc. Device 12cf
    Flags: bus master, fast devsel, latency 0, IRQ 142
    Memory at b3000000 (32-bit, non-prefetchable) [size=16M]
    Memory at a0000000 (64-bit, prefetchable) [size=256M]
    Memory at b0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at 3000 [size=128]
    Expansion ROM at b4000000 [virtual] [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia
...

Let me know if you need something else