Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
16b1d0934b The texture viewer can now deal with textures in an AFS archive. 2020-01-02 00:55:55 +01:00
Daan Vanden Bosch
2083793e67 Added basic test for application initialization. 2019-12-22 00:43:27 +01:00
Daan Vanden Bosch
7ad3044c1e Changed deprecated Three.js addAttribute calls. 2019-12-21 20:52:56 +01:00
jtuu
8582a25bc3 Lint 2019-11-16 18:07:21 +02:00
Daan Vanden Bosch
d6ebb8e21a Added simple transparency to entities. Seems to work for most entities except for those that use translucent texture to emulate light rays etc. 2019-10-27 16:45:30 +01:00
Daan Vanden Bosch
9b3d280e4f Upgraded all dependencies and fixed linting warnings/errors resulting from eslint upgrade. 2019-10-01 18:30:26 +02:00
Daan Vanden Bosch
f0d474ad40 The EntityListView now shows renders of entities instead of green squares. 2019-09-21 21:47:00 +02:00
Daan Vanden Bosch
79b85fc859 Entity creation is now undoable. Fixed a bug that occurred when you started to translate an entity and then moved the cursor outside of the 3D-view. 2019-09-21 14:39:04 +02:00
Daan Vanden Bosch
6e666b0ea5 Entity drag and drop code doesn't use custom events anymore for increased performance and simplicity. Made code more typesafe and decoupled. Fixed some bugs. 2019-09-20 22:27:19 +02:00
Daan Vanden Bosch
7ae4ad428c Basic entity creation via drag and drop. 2019-09-19 22:20:17 +02:00
Daan Vanden Bosch
03dc60cec9 Undo/redo now works again in the quest editor. The NPC counts view is also ported. 2019-08-26 15:42:12 +02:00
Daan Vanden Bosch
18a8ac1ad6 Fixed bug in code that starts/stops renderers when not visible. 2019-08-21 22:29:20 +02:00
Daan Vanden Bosch
844e63735e Texture viewer now uses the new UI system. 2019-08-21 18:59:56 +02:00
Daan Vanden Bosch
72506461ab Swapped code using new and old UI system around. 2019-08-21 17:56:46 +02:00
Daan Vanden Bosch
3ba13606aa More work on new UI. 2019-08-20 15:02:58 +02:00
Daan Vanden Bosch
5571f6b1a8 Started working on new UI. 2019-08-19 22:56:40 +02:00
Daan Vanden Bosch
1d0da754ca Added AddObjectComponent. 2019-08-17 17:14:09 +02:00
Daan Vanden Bosch
66127253d3 Split code into one module per tool + core and application module. 2019-08-10 22:09:06 +02:00