Commit Graph

285 Commits

Author SHA1 Message Date
Turánszki János ce7ec070fb editor: paint tool brush visualizer improvement 2022-08-08 20:55:32 +02: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 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
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 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 be769d60b5 editor: inspector mode 2022-07-07 08:45:56 +02:00
Turánszki János b944465263 Font renderer updates (#483)
* font renderer updates, text debug drawer;
editor: name visualizer;
github CI: vulkan sdk not required;

* cmake: vulkan sdk not required

* refactors

* lua binding for DrawDebugText()

* comment

* transparency sorting for debug texts;
font alphablend fix;

* softer debug text
2022-07-05 15:20:23 +02:00
Turánszki János ad6b340f1b editor: instance placer vertical rotation 2022-07-01 10:13:51 +02:00
Turánszki János 86c748ed98 Spotlight inner cone, GLTF KHR_lights_punctual (#474)
* added inner cone angle to spotlights

* refactors

* different shader entity packing

* KHR_lights_punctual

* features.txt

* spot cutoff

* seri

* fixes

* update

* angularAttenuation mad

* refactor

* attenuation refactors
2022-06-28 23:10:48 +02:00
Turánszki János 9177077b7a Shadow atlas (#467)
shadow atlas will contain directional, spot, point light shadows all in one texture;
shadow count will not be limited, they will be tigthly packed within the atlas instead;
shadow resolution will be dynamic per light;
shadow texture arrays will no longer be used;
2022-06-21 18:34:04 +02:00
Turánszki János c642be8567 editor tweaks: bloom threshold, terraingen weather 2022-06-18 11:55:01 +02:00
Turánszki János b37ac9b171 terrain generator: enabled tree impostors 2022-06-15 12:23:16 +02:00
Turánszki János 8db0369816 Impostor updates (#461) 2022-06-14 13:46:49 +02:00
Turánszki János 5e0988e1da Font renderer hdr output remapping (#460) 2022-06-11 19:42:54 +02:00
Turánszki János 93cb6b1935 sprite font typewriter animation 2022-06-05 11:40:39 +02:00
Turánszki János 9af2855682 VRAM usage display 2022-06-03 14:52:58 +02:00
Turánszki János 628bd67ea9 font renderer: word wrap is fix, gui: label scrollbar 2022-05-20 15:09:57 +02:00
Turánszki János f7d28b1127 GUI scrollbar updates (#447) 2022-05-19 22:42:49 +02:00
Turánszki János 5a035c3a17 editor: fixed grass interaction check 2022-05-13 17:10:47 +02:00
Turánszki János 18108223df Terrain Virtual Texture (#422) 2022-05-02 10:34:27 +02:00
Turánszki János d2985abd41 paint tool fixes; translator jitter removed when temporal AA enabled; 2022-04-28 11:33:32 +02:00
Turánszki János bb8276a82c terrain gen updates 2022-04-24 19:44:24 +02:00
Turánszki János a63b3e0e50 editor: grass interaction only with left button 2022-04-14 10:13:46 +02:00
Turánszki János 0d9af9f200 Grass interaction (#413)
* hairparticle simulation clamping

* editor: hair particle interaction

* update
2022-04-11 09:32:59 +02:00
Turánszki János 604140ad85 Procedural Terrain (#408)
0.60.50:
- Added procedural terrain generator (for now this is Editor only preview version)
- Added LOD (Level Of Detail) support
- Added LOD Generator to Editor (Mesh Window -> LOD Gen), uses the meshoptimizer library
- Editor can merge multiple objects now into one mesh (Mesh window -> Merge Selected)
- Ocean: added occlusion culling support to detect when ocean is occluded
	- can skip planar reflection render for ocean
	- can skip ocean simulation
	- can skip ocean rendering
- CPU ray tracing optimization: TMin and TMax parameter
	- can improve Ray-AABB and Ray-Triangle tests
	- improves performance of third person character controller script
- other fixes
2022-04-10 11:42:10 +02:00
Turánszki János cedcbcb2f6 editor: copy-paste fixes 2022-03-13 11:17:24 +01:00
Turánszki János 3eae67c90c editor: parented duplication fix #389 2022-03-06 17:55:38 +01:00
Turánszki János 41e3f56e88 editor: undo/redo fix 2022-02-15 01:00:43 +01:00
Turánszki János e599f40664 editor: undo/redo improvements; also added cut to Ctrl+X; 2022-02-13 00:28:17 +01:00
Turánszki János ab75435c41 editor: undo-redo and recursive selection improvements; 2022-02-12 01:31:33 +01:00
Turánszki János 9ebac82454 entity_serialize robustness improvements; entity_remove recursive support; 2022-02-11 00:08:57 +01:00
Turánszki János 6408341827 editor: uwp asset copies moved out of common source file 2022-02-09 23:05:59 +01:00
Turánszki János 74cb74d3c9 version 0.60 (#367)
- namespace refactor (example: wiGraphics:: -> wi::graphics)
  - provided namespace compatibility macro for old user code: WICKEDENGINE_BACKWARDS_COMPATIBILITY_0_59
- resource manager will return `Resource` instead of `shared_ptr<Resource>` objects
- MAD shader optimizations
- implemented alpha to coverage with alpha tested materials when MSAA is enabled
- alpha testing fix with transparent shadow maps
- TLAS and scene buffers will be recreated less frequently when things get added/removed from the scene
2021-12-03 21:22:27 +01:00
Turánszki János 16d9a8de74 common improvements (#366)
- std container replacements for vector, unordered_map, unordered_set
  - unordered_map and unordered_set replaced with ska::flat_hash_map
  - vector replacement is still std::
- unordered_map performance test (std:: vs ska::)
- backlog improvements
- wiArchive improvements
- editor: added option to dump scene to C++ header file
- common improvements, refactors
2021-11-28 22:12:05 +01:00
Turánszki János 8e8dfb1bb4 editor: subset and subset material selection from mesh window 2021-11-26 17:03:11 +01:00
Turánszki János 4777246989 common refactors (#364)
* common refactors:
- DirectXMath only included in wiMath.h instead of CommonInclude.h
- cleanups in CommonInclude.h
- lua math refactor
- generic allocator refactor

* FLT_MAX to numeric_limits

* linebreak

* comment fix

* allocator fix

* more math refactors

* removed wiContainers, renamed wiAllocators to wiAllocator, moved ThreadSafeRingBuffer to wiAllocator
2021-11-26 13:45:11 +01:00
James Webb 4f82ed8fbd wiGraphics refactors (#359)
* Mark concrete graphics device classes as final - they should not be inherited from further.

* Apply consistent snake_cast naming (which has been used in more recent additions) across wiGraphics structs

* Make 'CommandList' type safe so that calling graphics device functions is less error-prone.

* Decouple wiProfiler from wiRenderer by passing the device instance to functions instead of using wiRenderer::GetDevice().

* Bump minor version for graphics refactors.

* Decouple wiHelper screenshot/saveTexture* functions from wiRenderer by providing the graphics device as a parameter.

* Convert wiGraphics.h enums to use enum class (except a couple of raytracing flag enums which seem best left)

* hdr fix

* Documentation updates for enum class.

* Revert "Decouple wiHelper screenshot/saveTexture* functions from wiRenderer by providing the graphics device as a parameter."

This reverts commit fd70249554.

* Revert "Decouple wiProfiler from wiRenderer by passing the device instance to functions instead of using wiRenderer::GetDevice()."

This reverts commit 69b5326cfc.

* Fix debug build

* Fix gcc build (hopefully). Move bitmask operator defs to end of file outside of wiGraphics namespace.

* Remove 'to_underlying' and replace with casts

* graphics device access decoupled from wiRenderer, now should be accessed from wiGraphics::GetDevice()

* minor refactors, comments

* dx12 assert fix

* fixes

* commandlist refactor

* commandlist initial value

* commandlist refactor

* graphicsdevice comments, GetActivePipelineCount() function

* has changed to has_flag

* just rename a thing

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2021-11-17 20:27:10 +01:00