Commit Graph

676 Commits

Author SHA1 Message Date
Matteo De Carlo 36168852d5 COMPILER WARNINGS: Double defined and deprecated includes 2022-08-22 00:49:17 +02:00
Matteo De Carlo b9998020c7 COMPILER WARNINGS: sensible changes
Modified some code to fix some compiler warnings
- const char* for inline text
- constructor initializer in the correct order
- constructor initializer correct variables
- removed dead code (useless break)
- clean up code to be more compact
- ComboBox remove simplified
- && || parenthesis to read it better
- some code unroll for readability
- overridable class (RenderPath_BindLua) need virtual destructor because it's deleted as a base class pointer
- nullptr
2022-08-22 00:23:28 +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
Turánszki János c31024f5b1 animation and gui fixes 2022-08-12 09:29:05 +02:00
Turánszki János 440ad123aa added capsule-ray intersect functions; editor bone picking; 2022-08-11 09:43:43 +02:00
Turánszki János 0ee0098924 paint tool: axis locking, brush shape, brush rotation 2022-08-10 10:46:18 +02:00
Turánszki János bb1f66ee58 editor: terrain generator stackable modifiers 2022-08-09 18:49:18 +02:00
Turánszki János ce7ec070fb editor: paint tool brush visualizer improvement 2022-08-08 20:55:32 +02:00
Turánszki János e741efea62 Image renderer improvements (#502)
* image renderer preparation for custom vertex buffer

* getcurrentrenderpass no longer needed

* corner rounding implementation

* treelist shadow fix

* image renderer border soften parameter
2022-08-08 00:08:54 +02:00
Megumumpkin da6a2e53ba New Lua Scripting (#501)
* New Lua Scripting System

* Update Scripts

* Small fix on wiLua Globals

* Add One More Note To The New Demo

* -path fix
-renamed new_script_demo.lua to script_tracking.lua
-refactors
-version bump to 0.71.0

* removed GetScriptPath()

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-08-07 18:26:28 +07:00
Turánszki János 09f70458d4 text input improvements 2022-08-02 11:36:15 +02:00
Turánszki János 90fbbba9ba Text Input Caret (#500) 2022-08-01 18:25:15 +02:00
Turánszki János a0ad653d7d GUI ResizeLayout (#495)
* gui resizelayout #51

* checkbox icons

* updates

* weather reset

* embedded logo asset
2022-07-31 19:28:41 +02:00
Turánszki János 6376373353 Material picker (#494) 2022-07-30 17:56:36 +02:00
Turánszki János 1a9bec3708 editor: updated dark theme 2022-07-30 11:49:29 +02:00
Turánszki János ecda937f3f terrain generator: fixed detection of outdated chunk texture resolution after undo 2022-07-30 10:53:39 +02:00
Turánszki János 8812656fce editor: made dark theme a bit darker 2022-07-30 10:08:58 +02:00
Turánszki János 0c20561477 editor gui polishing 2022-07-30 08:09:27 +02:00
Turánszki János 0b55dfdfb6 gui fixes 2022-07-29 14:57:41 +02:00
Turánszki János f78998f44f gui: added support for tooltip theming 2022-07-29 13:55:27 +02:00
Turánszki János dc7686605f gui theming improvements 2022-07-29 11:05:29 +02:00
Turánszki János f277a00596 GUI updates (#490) 2022-07-28 20:59:25 +02:00
Molasses 87f3287aaa Code quality improvements for the installer (#492) 2022-07-21 10:49:24 +02:00
Turánszki János 0f684dc4bf terraingen: grass density modification without recreating grass chunks 2022-07-16 07:37:27 +02:00
Turánszki János 408d7505fb terraingen: grass density slider and improved prop density slider 2022-07-15 18:15:51 +02:00
Turánszki János 0dd6eea4ce terrain gen: grass density increases with chunk scale by squared amount 2022-07-15 17:17:39 +02:00
Turánszki János 6b13ec2590 editor: renderpath switching fix with multiple scenes 2022-07-15 14:32:58 +02:00
Turánszki János 018a949cb4 editor: terrain generator updates, wireframe shortcut 2022-07-15 11:22:33 +02:00
Turánszki János 5a0c423ddd Updates:
- editor: quicksave, multiple scenes support, gui changes, additional shortcuts
- physics: improvements for handling multiple scenes, and removal of physics objects
- scripting: ability to override global scene and camera with custom scene and camera from cpp side
2022-07-14 15:21:28 +02:00
Turánszki János edbbbe7e61 editor: transform tool fix 2022-07-13 15:46:15 +02:00
Turánszki János 778c0e5af7 editor: scaler tool improvements 2022-07-13 13:50:26 +02:00
Turánszki János 5b35a5a47d Transform tool updates (#486)
* translator tool upgrades, renderpath2D hdr improvement

* fix

* rewritten rotation tool

* visual update

* screen aligned rotation mode

* rotation snap mode fix

* non uniform scaling fix

* improvements to transform undo/redo

* added snap mode configuration

* mirroring transform tool based on camera relative position;
axis text display;

* origin drag visualizer

* minor refactor
2022-07-12 13:24:35 +02:00
Turánszki János 4cd3ef6afd editor: transform window updates - euler angles, clear transform 2022-07-10 08:42:57 +02:00
Turánszki János 1a591762a3 editor: transform window fixes 2022-07-09 21:47:04 +02:00