OpenDEM / WikiMediaExtension3D_Test_GLB_Format

Test Viewer for the integration of GLB files in the MediaWiki 3D Extension
GNU General Public License v2.0
1 stars 1 forks source link

My todays test: no GLB load, ... #2

Open DerKarlos opened 6 days ago

DerKarlos commented 6 days ago

! In T187844#10270526, @OpenDEM wrote: I have created a prototype for a viewer that also supports GLB files in the ‘mediawiki’ style. Only simple GLB files and KTX2 compression are supported. I am not yet satisfied with the positioning of the models, especially in view of the thumbnails. Help and feedback are very welcome.

Great! I would be happy if the mediawiki enables GLB to. My test today:

Upload File does notting, no Network, no Log. Select File works fine (some debug logs get visible).

With the used camera control, one can easily get lost in rotation. I would prefer only lat/lon (x/y?) rotation and not to pass the poles.

Depending on the GLB some are small, some to big. I hope, ThreeJS supports an auto-scale.

The thumbnails are bitmaps, generated at upload time, are they?

Minor remarks: The default could be a GLB already, it is an STL (3D_Model_Hydria.stl) The favicon.ico is missing. ;-)

OpenDEM commented 3 days ago

Thanks for the Feddback! Is your browser allowed to use the FileReader API ? The scaling still needs to be revised in any case. THREE.TrackballControls is the currently used control in production. There are no thumbnails yet. There is another project: https://gerrit.wikimedia.org/r/admin/repos/3d2png

DerKarlos commented 3 days ago

I never heard abut FileReader API, but if I use Chrome instead of Safari(x86), your file upload works fine. So fare I am partially happy.

I did not find any settings in Safari, only this: https://developer.apple.com/documentation/webkitjs/filereader