Commit Graph

3431 Commits

Author SHA1 Message Date
Megumumpkin c32a3194c8 Lua Component Remover (#559)
* Lua Component Remover

* Update Docs

* Add Component Remover to Binding Registration
2022-09-07 09:15:25 +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
Megumumpkin 018f5d003d Add HairParticleSystem and Small Enhancements for Lua Bindings (#553)
* Update Lua

* Update Lua Bindings

* HairComponent Lua Binding Fix

* Adding Documentation
2022-09-03 19:06:56 +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
v0.71.34
2022-09-01 18:42:16 +02:00
Turánszki János 1450b4b059 Raytracing LOD support (#547)
* raytracing LOD support

* software raytracing LOD

* update LOD before TLAS write

* version bump
2022-08-31 11:28:42 +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
Matteo De Carlo b063c22cc3 Pthread name too long (#540)
"wi::jobsystem_xx" is too long
2022-08-28 17:57:30 +02:00
Megumumpkin 97ecb37106 Fix Lua Binding (#539) 2022-08-28 16:13:43 +02:00
Megumumpkin da94fa2641 Lua Extend Refactor (#537)
* Add More Properties to Lua Bindings

* Fis class_parameters.lua Script

* Update Transform Bindings

* Update TransformComponent Bindings
2022-08-28 12:36:47 +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
Megumumpkin 24f7c3a5b5 Extend Lua Scripting (#534) 2022-08-26 19:26:56 +02:00
Jake Armstrong 73085e3cd9 prevent the time loss that previously occurred between timer.elapsed() and timer.record() (#533) 2022-08-26 10:58:42 +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 e9debd0487 vulkan dummy assert fix 2022-08-25 17:28:55 +02:00
Turánszki János 6eb01f585a Hierarchy window (#531) 2022-08-25 12:13:14 +02:00
Matteo De Carlo 929fba73cb removed some compiler warnings in places we don't want them (#530)
- DirectXMath.h
- `wi::ecs::SerializeEntity()`
2022-08-25 13:28:48 +07:00
Turánszki János 8aad16113d GPU particle collider support (#529) 2022-08-24 14:52:13 +02:00
Matteo De Carlo 092bb536bd fixed some warnings and potential bugs
- added extra useful warnings
- added a virtual deconstructor when necessary
- cleaned up and added default to different switch blocks (should have zero impact on performance)
- cleaned and made faster `ComboBox::RemoveItem(int index)`
2022-08-23 17:16:45 +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
Turánszki János a0a8c0c3fd Appveyor Removal (#524) 2022-08-22 19:02:32 +02:00
Turánszki János 817453a0cd script component update order fix 2022-08-22 18:25:26 +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 96a78c089b updated grid helper colors 2022-08-18 13:41:31 +02:00
Turánszki János e91548fc3d ddgi serialization fix: don't create/download textures when data is empty 2022-08-18 12:15:13 +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 a374ede363 component library fix: serializer version also propagated on write 2022-08-17 11:54:51 +02:00
Megumumpkin 8aeed3e17f Add ComponentLibrary and Component Interfaces (#511)
* Add ComponentLibrary and Component Interfaces

* Component Interface removal

* ComponentLibrary Fat Trimming

* ComponentLibrary Fixes

* ComponentLibrary Fixes

* Add versioning in ComponentLibrary

* ComponentLibrary fixes

* Tidying up ComponentLibrary

* removed version arrays because they were unused;
changed componentVersion check to libraryVersion >= componentVersion;
and some refactors

* we also tell how many component managers were serialized

* Make Serializing Dynamic

I've added a function in wiArchive for retrieving the DATA array
directly. Used to serialize dynamically the archive by choosing to read
datablock or not. Integer hash from string will be used to determine
the existence of the component on the engine's scene or not.

* Make Serialization Dynamic

* archive can jump over unregistered component data; component versioning; refactors;

* component version will be jumped over too

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-08-17 11:13:13 +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
Matteo De Carlo 56e33b52f4 Engine optionally compiled as a dynamic library (#508)
use `-DWICKED_DYNAMIC_LIBRARY=ON` to compile as a dynamic library
disabled by default
2022-08-15 13:28:53 +02:00
Turánszki János bebe54efc6 Light animation support (#509) 2022-08-14 22:46:54 +02:00