f08977da3c
Add basic gltf format checking
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-20 09:08:35 -07:00
7daaf81280
Include fiedl of view in annotation data
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-19 20:01:45 -07:00
e92b319a85
Create new views and annotation sets
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-19 08:53:02 -07:00
0dd9aba2b6
Refactor js files ( #48 )
...
This pr is a significant reorg of the js files.
1) All non-basic functions have been moved out of the main glmv.js
2) 'Metadata' has been universally changed to mvconfig to avoid conflict with actual file metadata
3) Configuration changing functions have been split off into glmv-mvconfig.js
4) Hotspot modification functions have been split off into glmv-hs.js
Reviewed-on: #48
2024-11-18 03:54:29 +00:00
d419f6fe7e
Add file page link model when not on file page
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-16 16:45:11 -07:00
3afe0ca143
Add view config selection to preview editor
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-16 14:57:28 -07:00
8032d0a16d
Add camera control toggle to preview edit functions
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-16 10:23:36 -07:00
e9dc663c0f
Add random annotation set transform
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-15 08:59:50 -07:00
9f8995dcf3
Include field of view in default view and config
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-15 08:21:30 -07:00
dd475f29c7
Add annotation set transform framework
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-14 08:41:59 -07:00
7cba86ce30
Improve camera orbit and target settings
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 16:28:49 -07:00
4400412441
Fix hidden preview edit menu
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 15:44:31 -07:00
85757bc0b3
Make addition of config object specific to gltf files
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 15:11:24 -07:00
4f7febcd26
Add mvconfig tag
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 09:27:45 -07:00
cf5deba5fa
Add default configopn model load
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 08:00:31 -07:00
0b37b9e0de
Use poster for thumbnail
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-12 21:06:33 -07:00
6787cdf00a
Remove deleted annotation from sets
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-12 20:26:12 -07:00
9c77018a8d
Fix reversed size value in metadata
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-12 19:25:44 -07:00
67b8f999c1
Bump tp version 0.1.0 and cleanup
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
v0.1.0
2024-11-12 08:20:00 -07:00
81576e283b
Merge pull request 'Add Gltf metadata' ( #38 ) from bas-add-metadata into main
...
Reviewed-on: #38
2024-11-12 03:57:31 +00:00
d559e786d1
Display metadata on file page
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-11 20:55:07 -07:00
9e1f89b92b
Enable metadata versioning
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-11 20:35:08 -07:00
0c5c1c61d3
Collect metadata from glb file
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-10 19:52:08 -07:00
0e91a69d29
Add annotation set selector to preview
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 20:19:34 -07:00
e9b19f1e6c
Add set camera limit buttons
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 16:55:43 -07:00
2e03cac221
Fix ooui downloadImage callback
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 15:51:57 -07:00
1a225126ec
Refix enable menu error
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 13:43:45 -07:00
6877258e0c
Fix undefined enableMenu error
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 12:06:45 -07:00
6799dfd4de
Increase version to 0.0.7
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 10:35:52 -07:00
5a2f8819e3
Use ooui for edit action buttons ( #32 )
...
This PR converts the original basic preview edit actions buttons to MediaWiki's ooui to better match the style of the edit page.
Reviewed-on: #32
2024-11-08 15:27:14 +00:00
109cc08b90
Account for missing attributes in limitCameraOrbit
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-06 17:15:07 -07:00
9e5d55c608
Improve touchscreen styles
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-06 15:47:37 -07:00
b8a8cf08f3
Improve camera orbit value writing
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-06 10:03:04 -07:00
b241f20796
Add set starting view button
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-05 20:40:13 -07:00
37ca6cd017
Add full screen imagery and styling
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-05 19:49:03 -07:00
d80c31449b
Add fullscreen framework
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-05 12:12:00 -07:00
a3b6aa1418
Fix hotspot moving regression
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-04 18:34:09 -07:00
9bd6f172c2
Add poster view property and manual model reveal
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-04 18:25:52 -07:00
7a53ef8de8
Add download image button
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-03 20:44:05 -07:00
80759edbad
Fix toggling hotspot visibility
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-03 20:03:47 -07:00
ad45910a5f
Fix upload css
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-03 19:58:44 -07:00
fc30b09d16
Add model previews on upload ( #27 )
...
Closes #22
This modifies the upload form to allow for a preview of models.
Reviewed-on: #27
2024-11-04 00:02:48 +00:00
a3a9902070
Add delete hotspot button to editor
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-02 11:01:16 -07:00
53b6b58c97
Prevent new hotspot name collisions
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-02 09:15:29 -07:00
e5d51ed2a5
Merge pull request 'Better i/o for editing metadata in preview' ( #26 ) from bas-rw-annot into main
...
Reviewed-on: #26
2024-11-02 16:07:38 +00:00
381eda0574
Better i/o for editing metadata in preview
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-02 09:03:32 -07:00
6bdde87f8a
Add docblock
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-01 14:38:03 -07:00
b786964a89
Fix button and img visibility before model
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-01 11:33:45 -07:00
df11f0c54b
Change annotation edit grabbing to ctrl-click
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-01 10:38:55 -07:00
4bbdd29570
Fix hotspot move on preview click
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-10-31 20:25:50 -07:00