Daan Vanden Bosch
f8d4507b34
Fixed bug in Widget.finalize_construction. Fixed linting warnings.
2020-07-14 19:46:11 +02:00
jtuu
e0eadeb1ed
Fixed an optional module not really being optional (prs-rs).
2020-07-02 17:39:47 +03:00
jtuu
d5c72152e8
Added definitions for opcodes f8b0-f8b5.
2020-06-02 06:38:38 +03:00
jtuu
03616bc890
Made browser specific code runnable in a non-browser environment.
2020-06-02 06:32:37 +03:00
jtuu
103de10b02
Ensure object has the right amount of properties when converting QuestObjects to DatObjects.
2020-06-01 21:38:56 +03:00
jtuu
0d4a15a035
Changed typings of array writing methods in AbstractWritableCursor to be more permissive.
...
The purpose of this change is to allow using TypedArrays with these methods.
2020-06-01 19:44:45 +03:00
jtuu
6cb6be92d7
Made prs-rs an optional module.
...
Compression will fall back into the JS implementation if program is not built with prs-rs.
2020-06-01 01:17:26 +03:00
jtuu
172b8e2fd4
Added tests for WASM PRS
2020-05-31 22:24:34 +03:00
jtuu
08b55f8b11
WebAssembly PRS compression/decompression.
2020-05-30 07:06:08 +03:00
jtuu
6c3eb9fd26
Fixed opcode unknown_f961 definition.
2020-05-28 21:10:52 +03:00
Daan Vanden Bosch
9492515b25
Added docs to two NPC properties.
2020-05-01 14:40:32 +02:00
Daan Vanden Bosch
38f4bdd484
Renamed "Debug Log" to "Debug" and moved all debugging related buttons to its toolbar.
2020-04-30 18:27:19 +02:00
Daan Vanden Bosch
da64ad93c5
Event view widgets are now correctly disabled while debugging.
2020-04-29 20:48:47 +02:00
Daan Vanden Bosch
d69a0cbc00
TextArea now correctly sets the disabled state of its textarea element.
2020-04-29 20:05:35 +02:00
Daan Vanden Bosch
c9891410d9
Improved WebGPU renderer:
...
- The renderer now uses buffer memory mapping instead of the deprecated setSubData
- It can now render models without texture
- It can now use S3TC textures
2020-04-26 22:19:26 +02:00
Daan Vanden Bosch
78c18eb1e9
Improved rendering of entities that use additive blending in NPCs/Objects panels.
2020-04-25 22:17:26 +02:00
Daan Vanden Bosch
599cab4b2b
Fixed all formatting and linting errors introduced by upgraded eslint and prettier.
2020-04-25 20:29:20 +02:00
Daan Vanden Bosch
44ae05cf90
Fixed bug in Disposer. Fixed linting issue in QuestEditorToolBarController and improved error message.
2020-04-25 19:34:49 +02: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