Commit Graph

707 Commits

Author SHA1 Message Date
Turánszki János 91595edc65 editor: mixamo humanoid rig import 2022-09-21 11:14:43 +02:00
Turánszki János d832ee167f Expression and humanoid lua bindings (#569)
* Expression and humanoid lua bindings

* add fog color override

* fix

* added scene saved indicator text

* win + D fix
2022-09-19 12:19:46 +02:00
Turánszki János 6151fd82e6 VRM humanoid data import (#567)
* VRMhumanoid data import

* linux fix

* humanoid lookAt

* updates

* mouse look improvement

* head size

* theme color affects picker entity icons

* eye lookat

* blinking more random, collider aabb checks

* improvements

* editor: use humanoid information to improve bone picking
2022-09-16 15:05:23 +02:00
Turánszki János 6c69ad82a9 soft body: allow registration when simulation is disabled, for better editing;
editor: physics checkbox saved in config.ini;
2022-09-14 18:47:22 +02:00
Turánszki János a585fa8eb3 spring fix: initial bone axis is in local space;
editor: added missing spring icon;
2022-09-14 11:03:50 +02:00
Turánszki János e44770aca0 editor save mode icons 2022-09-14 10:37:11 +02:00
Turánszki János 38993813c1 Intersection filtering updates (#565)
- refactored RENDERTYPE enum to FILTER
- added FILTER_NAVIGATION_MESH type - allows tagging meshes for navigation and filtering them in scene intersection functions
- added FILTER_COLLIDER type - allows processing colliders in scene intersection functions
- added simpler interface to get scene intersections: new Scene::Intersects() function overloads
2022-09-13 19:55:30 +02:00
Turánszki János 647a1198a9 changes in object update system 2022-09-11 21:48:35 +02:00
Amer Koleci ee6086925c Merge branch 'master' into device_name_info 2022-09-11 11:21:42 +02:00
Turánszki János bcffb27ead Parallel scene intersections (#563)
- scene intersections using multithreading
- scene intersections can specify LOD level
2022-09-10 15:24:01 +02:00
james webb bef00cd4db Store active graphics device name and add it to the editor info display. 2022-09-10 14:12:39 +01:00
James Webb 93f7d421c8 Change RenderPassAttachment texture member to be owning (#562)
* Change RenderPassAttachment texture resource member to be owning.

* remove redundant null check

* fix
2022-09-10 14:12:14 +02:00
Turánszki János 5179d75878 Ray traced diffuse (#561)
* Ray traced diffuse

* tweaks

* tweaks

* tweaks

* updates

* ddgi update speed,
ssr roughness cutoff,
rt reflections ray length,
rt diffuse ray length,
2022-09-09 13:28:03 +02:00
Turánszki János c8139da6b6 Editor full screen toggle (#558)
* Editor full screen toggle

* fix
2022-09-06 12:45:16 +02:00
Turánszki János 03fe5dcce8 Physics updates, lua bindings (#554)
* physics updates, lua bindings

* velocity setters

* fix softbody gravity

* gui things

* colliders cpu and gpu separation

* terrain prop check for missing assets

* lua internal put in function
2022-09-04 16:34:50 +02:00
Turánszki János c359395cea Terrain physics (#552)
* terrain physics

* terrain props physics configuration

* asset refactors

* fix

* warning
2022-09-03 19:58:14 +02:00
Turánszki János b8bb07234e editor: translator Z axis fix 2022-09-02 19:40:56 +02:00
Turánszki János 63bf1a3b3d gui fixes 2022-09-02 10:47:42 +02:00
Turánszki János 60ef0ae251 Terrain refactor (#549)
- terrain separated into core logic and gui
- terrain can be serialized
- ddgi extents also saved, added control for smooth backface test
- raytraced shadow fixes
2022-09-01 18:42:16 +02:00
Turánszki János 6d031729f7 embedded credits (#546) 2022-08-31 10:02:22 +02:00
Dennis Brakhane 2c26b73cf0 fix typo (#545) 2022-08-31 08:05:22 +02:00
Turánszki János 4197633e18 editor updates:
- fix saving when path contains . and no extension specified
- 1 2 3 hotkey bindings
- Ctrl + Shift + Z as alternative redo
2022-08-30 20:03:00 +02:00
Turánszki János 73ee94d114 Volumetric cloud updates (#544)
- Reprojection update
- Cloud model changes
- Weather map import
- Local lights
- Environment capture
- Volumetric cloud shadow
- Aerial perspective for clouds

Co-authored-by: Silas Oler <silasmartins@outlook.dk>
2022-08-30 16:37:51 +02:00
Turánszki János 6a2173f699 armature window, object window meshID selection (#542)
* armature window, object window meshID selection

* fixes, default blink applied
2022-08-29 12:03:30 +02:00
Turánszki János ac4fc8540d Sparse morph target and VRM expressions (#536) 2022-08-28 19:22:23 +02:00
Turánszki János c30fe35661 New animation properties support (#535)
* new animation properties support

* material param animations

* camera component window, camera component lerp

* camera aperture debug

* some documentation updates
2022-08-27 09:41:03 +02:00
Turánszki János eff37576b5 Improving window layouts (#532)
* improving component window layouts

* sound window update

* transform window update

* editor top gui animation; delete callback for entity tree

* layer window update

* other layout changes

* grid helper ini

* don't allow negative or zero local scale

* version bump

* camera fps config check if exists
2022-08-26 09:21:19 +02:00
Turánszki János 6eb01f585a Hierarchy window (#531) 2022-08-25 12:13:14 +02:00
Turánszki János 8aad16113d GPU particle collider support (#529) 2022-08-24 14:52:13 +02:00
Turánszki János 1ba4014fc0 Collider editor (#527) 2022-08-23 13:13:00 +02:00
Turánszki János fe81c80b04 Softbody and rigidbody windows separated (#526) 2022-08-22 23:42:49 +02:00
Matteo De Carlo e6e2bb176b Compiler warnings fixes (part 1) (#523)
* COMPILER WARNINGS: remove unused variables

* stricter linux compiler options and define fixes

* const char* for string constants

* Always initialize struct EventArgs with some valid values

and another possible use of initialized variable

* revert library change
2022-08-22 18:21:13 +02:00
Turánszki János bd41a54b3b Script Component (#521) 2022-08-22 13:53:59 +02:00
Turánszki János 12e410d893 Paint tool stabilizer, continuous stroke, multiselect (#519)
- continuous stroke
- stabilizer
- multiselect
- smoothness improvement
2022-08-21 17:13:43 +02:00
Turánszki János b5104b48a9 combobox ivalid-selection text 2022-08-21 10:13:09 +02:00
Matteo De Carlo fdc052b9f9 Fixing broken hashmaps on linux
Fixes #414

The issue is caused by Linux (and possibly other platforms) implementing the hash function as an identify function for data smaller than 64bit (including `int`).

Fixing only the TerrainGenerator is possible, but the issue could be generated again elsewhere and it would be quite difficult to identify and debug.

Therefore the proposed solution is to replace the `wi::unordered_map` on Linux with another implementation which is still quite fast and does account for the issue of the identify hash function.
The library is https://github.com/martinus/robin-hood-hashing (MIT License)

robin_hood.h:768
```
// return mixed of that, to be safe against identity hash
```
2022-08-20 23:02:41 +02:00
Turánszki János 64babc8fcd Config file support (#517) 2022-08-20 18:32:16 +02:00
Turánszki János f5f8e2f2fe Material outline property (#516) 2022-08-19 11:07:02 +02:00
Turánszki János 9cc6566e0a Editor updates (#515)
* renderer and postprocess windows combined into graphics window

* graphics window layout resize

* camera resizelayout, replace unordered map in terraingenerator for linux

* material userdata

* graphics window update
2022-08-19 08:43:10 +02:00
Turánszki János 084a1b1f1f DDGI updates (#514)
DDGI updates:
- allow 0 raycount to keep static DDGI
- DDGI serialization for saving and loading with scene
- grid dimensions configurable
- refactors
2022-08-18 11:50:09 +02:00
Turánszki János 1c3b874a44 VRM springbone and collider import (#513) 2022-08-17 16:09:31 +02:00
Turánszki János 99b704d8c7 spring addition will be ordered to match hierarchy 2022-08-15 18:59:47 +02:00
Turánszki János c7da8a9dd3 added light shaft strength parameter 2022-08-15 15:20:43 +02:00
Turánszki János 20e1989630 GLTF sparse accessor, VRM model import 2022-08-15 14:14:09 +02:00
Turánszki János bebe54efc6 Light animation support (#509) 2022-08-14 22:46:54 +02:00
Turánszki János 5345e4ba4f inverse kinematics stability improvement, editor bone size tweaks, default weather gradient 2022-08-13 13:02:03 +02:00
Turánszki János c7fc48abbb gui: global check text, editor: ik and spring bone coloring 2022-08-13 10:39:20 +02:00
Turánszki János f55e6f79fc editor: animation loop closing 2022-08-12 19:45:19 +02:00
Turánszki János 56e2fe3845 editor: animation editing 2022-08-12 18:41:38 +02:00
Turánszki János af465d77a4 editor: animation sampling mode 2022-08-12 10:36:25 +02:00