Open DerKarlos opened 6 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
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
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. ;-)