Commit Graph

36 Commits

Author SHA1 Message Date
Turánszki János f6b3f3ed30 animation retargeting can now be used across different scenes 2023-07-28 08:56:23 +02:00
Dennis Brakhane d7ba1d67c0 Ensure IK gets only updated after a timestep occured (#716)
Update_IK gets called for every frame, but ground intersections are only
checked up to 120 times per second.

This can lead to the Y velocity being >0 despite standing on the ground,
messing up IK which is only done when the velocity is 0.

Fixes #707
2023-07-26 19:10:16 +02:00
Turánszki János 58a13ce3cc character controller: NPC will stop in its track and turn towards player when initiating conversation 2023-07-26 09:33:43 +02:00
Turánszki János 46539db4d5 character controller: fade out character when camera is inside it 2023-07-16 16:13:24 +02:00
Turánszki János 070480a8ff Conversation (#674) 2023-05-12 17:50:21 +02:00
Turánszki János 07946b9d97 VRM import: apply subsurface scattering for skin materials, disable shadow casting for some face elements;
weather: default ambient higher;
character asset updated;
2023-05-04 16:40:07 +02:00
Turánszki János dbecd17a20 character controller: limit gravity force to avoid tunneling at very high falling speed 2023-04-12 09:16:07 +02:00
Turánszki János 4fb162c468 character controller: fixed timestep improvements, framerate lock debug, refactors 2023-03-17 20:36:53 +01:00
Turánszki János 813c991351 character controller footprints 2023-03-09 10:00:45 +01:00
Turánszki János 9ee1b47193 character controller: camera rotation limiter and smoothening 2023-03-03 22:53:55 +01:00
Turánszki János 30c47c83cc Runtime animation retargeting (#627)
* runtime animation retargeting

* improvements, fixes

* character controller script: separate animation file from character

* editor fix

* script improvements

* foot positioning fixes
2023-01-22 18:29:13 +01:00
Turánszki János 4f4c72549b character sample: NPC followers, dynamic waypoints 2023-01-15 18:05:32 +01:00
Turánszki János 35d1dc2b8a character sample: optional non-pushable NPC, disable camera collision with NPC 2023-01-14 18:36:24 +01:00
Turánszki János f90663c814 added NPCs to character sample script and some other updates 2023-01-13 16:23:35 +01:00
Turánszki János fd9106fbe0 character controller: ik jerkiness fix when leg difference is miniscule 2022-12-03 13:13:36 +01:00
Turánszki János d5d5eb613c IK humanoid constraint, character foot placement 2022-12-02 12:08:20 +01:00
Turánszki János 1bb67f9e91 added camera shake sample script; lua binding updates; 2022-11-11 12:00:34 +01:00
Turánszki János 50692151cf editor: script window update; improved character zone scripts; 2022-10-24 17:38:31 +02:00
Turánszki János f7ebdbda64 New character controller sample (#575) 2022-09-30 16:25:45 +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
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
Megumumpkin 24f7c3a5b5 Extend Lua Scripting (#534) 2022-08-26 19:26:56 +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 3eb2a10c78 script path fix; fighting game script help text color improvement; 2022-07-19 20:18:49 +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 c02ab327d8 Physical light units (#476) 2022-06-29 20:15:36 +02:00
Turánszki János d17a3f1fbe scripting updates 2022-06-23 10:39:25 +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 858e860dbc added set_material_all.lua script 2022-06-11 10:23:13 +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 cc2ca6a433 scripting updates and new sample scripts 2022-01-09 21:29:16 +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
Megumumpkin 7ee042cc84 SDL Controller Support (#326)
* SDL Controller Fix

* SDL Controller Fix (Compile Fix)
2021-09-30 18:26:42 +02:00
Turanszki Janos 7b182ccb37 updated lua bindings and added rotate sun script 2021-07-11 14:54:37 +02:00
Turanszki Janos 8867ca4153 fix stuck anims in tps character controller script 2021-07-02 17:32:13 +02:00
Turánszki János 933080a2e4 Unified Shader Compiler (#250) 2021-03-21 18:54:04 +01:00