Commit Graph

185 Commits

Author SHA1 Message Date
Grayson Lorenz
cee304e976 error cleanup, alert the error
Clean up the error to break out of sequence when we encounter an error for efficiency. Then for now use alert to show the user an error of some kind. This is temporary until I can style some kind of new module for errors.
2020-04-25 10:48:45 -05:00
Daan Vanden Bosch
b3055bc271 Orbital camera rotation sort of works. Translation happens after rotation instead of the other way around. 2020-02-20 14:57:19 +01:00
Daan Vanden Bosch
8e54ac90fd Fixed issue with NJ meshes. 2020-02-01 19:46:57 +01:00
Daan Vanden Bosch
928bdfc12a Fixed issues with incorrectly transformed NJ model meshes. 2020-02-01 18:34:15 +01:00
Daan Vanden Bosch
4eaff297d5 Fixed perspective transformation. 2020-02-01 15:19:16 +01:00
Daan Vanden Bosch
c180b6997e Fixed compilation issues. 2020-01-29 17:37:49 +01:00
Daan Vanden Bosch
ff31c1ad27 Improved panning with perspective camera. 2020-01-29 17:36:15 +01:00
Daan Vanden Bosch
64daaf8fd2 Simplified webpack config and fixed issue with WebGPU typings. 2020-01-29 14:53:08 +01:00
Daan Vanden Bosch
3230268962 Started working on pure WebGL model viewer. 2020-01-26 23:13:09 +01:00
Daan Vanden Bosch
a19a3a4837 WebGPU renderer can now render textures. WebGL and WebGPU renderers now reuse more code. 2020-01-25 22:38:07 +01:00
Daan Vanden Bosch
baffab3234 Started work on WebGPU renderer. 2020-01-23 01:16:52 +01:00
Daan Vanden Bosch
9960d745c2 All texture viewer features are now supported by the TextureWebglRenderer. 2020-01-19 22:38:45 +01:00
Daan Vanden Bosch
85ccdbb0a6 Added experimental WebGL renderer. 2020-01-19 17:16:28 +01:00
Daan Vanden Bosch
f4d9cb290e Additive blending now also works for xj models. Darkened the collision geometry to better accommodate additive blending. 2020-01-18 21:26:49 +01:00
Daan Vanden Bosch
06e1a8e60b Added "additive" blending for the materials that need it. 2020-01-18 20:01:22 +01:00
Daan Vanden Bosch
a92dbcc287 Object models are now loaded completely. 2020-01-17 22:42:11 +01:00
Daan Vanden Bosch
603c221365 Improved DisposablePromise disposal process. 2020-01-17 18:23:32 +01:00
Daan Vanden Bosch
79a68a6b7b Added internet time to navigation menu. 2020-01-17 14:23:50 +01:00
Daan Vanden Bosch
50d1ff7f93 Fixed bug in object code writer. Strings in the object code are now written correctly when the format is DC/GC. 2020-01-16 22:55:47 +01:00
Daan Vanden Bosch
b276ba988e Quests can now be saved in GC format. 2020-01-16 21:45:20 +01:00
Daan Vanden Bosch
7c9a74171e Quest editor now uses the Dialog class for the "Save As" dialog so more options can be added to it. 2020-01-14 21:19:07 +01:00
Daan Vanden Bosch
b2e0a612f8 Dialogs are now properly disposed. 2020-01-08 21:42:12 +01:00
Daan Vanden Bosch
b93b22a223 Made Dialog reusable. 2020-01-07 17:40:01 +01:00
Daan Vanden Bosch
10d6eb68d9 Fixed bug in url path parsing. 2020-01-07 00:19:57 +01:00
Daan Vanden Bosch
542f61bf0c Improved error handling in viewer. 2020-01-06 23:32:14 +01:00
Daan Vanden Bosch
8580cd4f66 The model viewer now shows a problems popup when loading a file failed or succeeded with some problems. 2020-01-06 21:09:44 +01:00
Daan Vanden Bosch
7f5accf790 AFS archives with compressed XVM texture archives are now supported. 2020-01-06 14:04:05 +01:00
Daan Vanden Bosch
3edc9b857d Improved FileButton behavior, opening the same file twice in a row will now work. Also simplified its implementation. 2020-01-05 23:20:53 +01:00
Daan Vanden Bosch
cb41529518 Model viewer options are now stored in url parameters so you can link to a specific set of options. 2020-01-05 22:40:26 +01:00
Daan Vanden Bosch
3836612972 You can now press the up and down arrows while a Select is focused (but the menu is not open) to change the selected item. 2020-01-05 18:59:02 +01:00
Daan Vanden Bosch
05d5ce6e29 Its now possible to choose a section ID and body type in the model viewer. 2020-01-05 18:40:35 +01:00
Daan Vanden Bosch
f87c2ecf84 - All views now have a View super type
- Widget now has a children array
- Widgets can be activated and deactivated (this recurses over child widgets)
- Renderers are now turned on and off in activate/deactivate methods
- It is now possible to set a tool-local path (this path is appended to the tool's base path)
- TabContainer can now automatically set a path based on paths given in its tab configuration
- It's now possible to directly link to subviews of the viewer and the hunt optimizer
2020-01-05 01:07:35 +01:00
Daan Vanden Bosch
dc9deee5a7 The model viewer can now show any character class' body type. 2020-01-03 23:04:57 +01:00
Daan Vanden Bosch
c9d4b6ab92 Bone weights are now normalized, this almost completely fixes the bone weight issues. 2020-01-03 12:05:51 +01:00
Daan Vanden Bosch
20d5b0d52d Added textures to character class models in model viewer. 2020-01-03 00:50:19 +01:00
Daan Vanden Bosch
93e05ea614 - Moved instructions/opcodes and DFA code to core to avoid dependency from core to quest_editor
- When the assembly worker updates map designations, it now takes map_designate and map_designate_ex into account
2020-01-02 18:42:08 +01:00
Daan Vanden Bosch
f36b102ec1 Fixed bug in .bin format detection. 2020-01-02 15:39:55 +01:00
Daan Vanden Bosch
f4b8b30590 .bin and .dat files can now be loaded directly. 2020-01-02 15:26:40 +01:00
Daan Vanden Bosch
f968d0047c GameCube .qst files are now parsed correctly. 2020-01-02 15:00:26 +01:00
Daan Vanden Bosch
0035588e43 The different .qst formats are now unpacked correctly. 2020-01-02 13:44:34 +01:00
Daan Vanden Bosch
16b1d0934b The texture viewer can now deal with textures in an AFS archive. 2020-01-02 00:55:55 +01:00
Daan Vanden Bosch
53ca625d43 Added AFS parser. Character class asset loading can now be stopped by calling the CharacterClassAssetLoader's dispose method. 2020-01-01 20:15:39 +01:00
Daan Vanden Bosch
02708a0436 Static data formats now conform to the rest of the project's code style. 2020-01-01 16:05:23 +01:00
Daan Vanden Bosch
050e0ffd57 Added Vol Opt part 2. 2020-01-01 14:26:14 +01:00
Daan Vanden Bosch
821b894a52 Made several widgets more keyboard-friendly. 2020-01-01 04:15:03 +01:00
Daan Vanden Bosch
7806fae98b Actions can now be added to events. 2019-12-31 23:45:49 +01:00
Daan Vanden Bosch
2507d07fb5 Made RegistersView inputs larger again. 2019-12-31 21:48:59 +01:00
Daan Vanden Bosch
fe00d6f6a8 - Defensive copies are now made of values emitted in list change events
- Bugfix: FlatMappedListProperty would propagate changes to its dependency list property incorrectly
- Creating event actions is now undoable
2019-12-31 18:45:12 +01:00
Daan Vanden Bosch
bc95a490ca Refactored QuestEventDagModel. 2019-12-30 16:40:58 +01:00
Daan Vanden Bosch
596bd103da Events can now be selected by clicking anywhere on the event and the selected event can be deleted by pressing the delete key. 2019-12-29 23:00:09 +01:00