Commit Graph

4065 Commits

Author SHA1 Message Date
Turánszki János bc2c5c8ce0 Jolt physics 5.1 (#922) 2024-08-13 07:48:41 +02:00
Romildo Franco 7449063784 Fix wi::scene::LoadModel returning the wrong entity (#921)
Fixed a bug caused by a typo in the LoadModel function call. The issue occurred because LoadModel(scene, fileName, transformMatrix, rootEntity) was mistakenly called instead of LoadModel2(scene, fileName, transformMatrix, rootEntity). The compiler did not catch this mistake because the last parameter of LoadModel is a boolean, and rootEntity was incorrectly used to satisfy that parameter.
2024-08-12 06:38:51 +02:00
Turánszki János 4717d75cb4 character to character collision control 2024-08-12 06:17:12 +02:00
Turánszki János 99c1d78211 character foot placement also works when moving; leaning control; improvements; 2024-08-11 15:21:41 +02:00
Dennis Brakhane a15a0f6026 cmake: prevent in-source builds (#918) 2024-08-11 14:39:12 +02:00
Dennis Brakhane 985f31cba4 remove Editor_UWP project files (#919) 2024-08-11 14:36:21 +02:00
Dennis Brakhane c330841967 Work around GCC "maybe uninitialized" warning (#917) 2024-08-11 14:35:51 +02:00
Turánszki János d170213efd cloaking effect and two layer refraction to see ocean through refractive materials 2024-08-10 09:09:43 +02:00
Turánszki János 6dea5cc756 Voxelgrid to mesh (#915) 2024-08-09 07:03:15 +02:00
Turánszki János cefd746bda Character component (#914) 2024-08-08 18:03:17 +02:00
Dennis Brakhane e3a8286318 fix calculation bug (#913) 2024-08-08 05:40:01 +02:00
Turánszki János c565c0256b Light loop optimization (#909) 2024-08-07 07:36:31 +02:00
Dennis Brakhane f31f6c5a93 add RAII style profiling (#910) 2024-08-06 06:06:25 +02:00
Turánszki János 21fea836ad small optimization for terrain 2024-08-05 08:44:36 +02:00
Dennis Brakhane 5e27c926f8 fix SDL_Init check (#908)
make_sdlsystem always returns a valid int pointer containing the result
of SDL_Init. SDL_Init is 0 on success, and a negative int on failure.
2024-08-05 05:54:40 +02:00
Turánszki János 382958b0c5 fixes 2024-08-04 07:11:17 +02:00
Turánszki János 3ac4ce9107 gpu optimizations v0.71.532 2024-08-03 08:43:58 +02:00
Romildo Franco f3f5148d32 Prevent delete key from removing an entity when TextInputField is active (#907)
Fixed an issue where pressing the delete key would remove an entity if the mouse was hovering over the entity tree list, instead of deleting a character in the TextInputField.
2024-08-03 06:29:58 +02:00
Turánszki János c8b581f8b1 some improvements v0.71.531 2024-08-02 07:19:43 +02:00
Turánszki János f854040bda removed 10 bit vertex quantization 2024-08-01 12:12:09 +02:00
Turanszki Janos 1e5d9928a9 instance alpha test will be hard edge cutoff 2024-08-01 12:08:40 +02:00
Turanszki Janos 631ebdfb1b babysitting AMD driver 2024-08-01 12:07:45 +02:00
Turanszki Janos 38de5e282f ocean reflection blend out very close to camera 2024-08-01 11:43:41 +02:00
Turánszki János c19105a8af archive fix 2024-08-01 09:23:07 +02:00
Turánszki János b343932652 some lua bindings and improvements 2024-07-31 20:59:05 +02:00
Turánszki János fb9b8d9fe3 ps5, xbox fixes 2024-07-31 20:54:32 +02:00
Turánszki János 9d913d0a28 various updates:
- buoyancy parameter
- ragdoll buyancy
- terrain region blending improvement
- application activation fixes
2024-07-31 07:39:29 +02:00
Turanszki Janos 894aa46ed3 AMD vulkan issue workaround 2024-07-30 07:19:59 +02:00
Turánszki János 99396e212d shader optimizations 2024-07-29 18:34:40 +02:00
Turánszki János 3b82ba0549 character controller movement improvements 2024-07-29 07:30:29 +02:00
Turánszki János 9c5fdfb5ba lightingHF refactor 2024-07-29 06:20:42 +02:00
Turánszki János 112d03d7e5 shadow fix 2024-07-28 19:27:30 +02:00
Turánszki János 228dd86360 shadow border clamp fix 2024-07-28 18:36:30 +02:00
Turánszki János 8f4f4e8649 soft shadow disk sampling (#906) 2024-07-28 13:42:12 +02:00
Turánszki János 48db6afe6d editor: snap to surface transform 2024-07-27 06:27:49 +02:00
Turánszki János 82aacb202e character controller script updates 2024-07-26 07:38:26 +02:00
Turánszki János 6ba8f79ca7 Metadata component (#902) 2024-07-25 18:59:46 +02:00
Romildo Franco 37b1ebf645 Avoid calling backlog when Home key is pressed in TextInputField (#903)
- Added functionality to prevent calling the backlog when the Home key is pressed while typing in the TextField.
  The hotkeys could be called even while typing in the TextInputField. I found out that the following part from TextInputField::Update was causing this

			if (state == DEACTIVATING)
			{
				state = IDLE;
				typing_active = false;
			}

  So, I moved typing_active = false closer to the two lines calling Deactivate() in TextInputField::Update().
- Using explicit conversion when calling std::signbit() in AnimationWindow::speedSlider::OnSlide() to resolve the warning during compilation.
- Moved AnimationWindow::lastDirection to local scope within AnimationWindow::speedSlider::OnSlide(), as it is only used there.
2024-07-25 14:36:57 +02:00
Turánszki János 6b7510cf1b gui fix #901 2024-07-24 11:54:56 +02:00
Turánszki János d249ab3cb6 engine initialization improvements 2024-07-24 06:42:00 +02:00
Turánszki János dafc77f4b9 ocean fixes 2024-07-23 16:59:38 +02:00
Romildo Franco ed6e930c96 Improve AnimationComponent and AnimationWindow (#900)
Add new logic and buttons to AnimationWindow for playing backwards and for the new loop types.
Add new methods to control looping: AnimationComponent::IsPingPong, AnimationComponent::IsPlayingOnce, AnimationComponent::SetPingPong, and AnimationComponent::SetPlayOnce.
Add checks in Scene::RunAnimationUpdateSystem for the new loops when the animation reaches the end.
2024-07-23 11:46:11 +02:00
Turánszki János 510fd5dce7 editor: added multiselection edit for many things 2024-07-23 06:56:01 +02:00
Dennis Brakhane 65d863d5c7 cmake: use copy_directory_if_different if available (#899)
After a discussion with Matteo, we decided it's better
to use if_different on CMake 3.26+ and just copy_directory
on previous versions. It seems to copy less files each run,
so it's good to use it if available.
2024-07-23 05:31:29 +02:00
Turánszki János 390d31e8fc Fp16 shader optimizations (#897) 2024-07-22 09:32:24 +02:00
CitroenGames 4d95a5770d Fixed: Windows Template wont create a win32 window when opening exe file (#898)
* Update CMakeLists.txt

* added the secret ingredient
2024-07-22 05:57:00 +02:00
Turánszki János d44f1751a1 path tracing clip plane support 2024-07-21 16:44:00 +02:00
Dennis Brakhane 7a786c2981 cmake: don't depend on a 3.26+ command (#896)
I accidentially used a CMake 3.26+ only command.
Copying the content directory doesn't take that long, so requiring 3.26
doesn't seem to be worth it at the time. So just replace it with
copy_directory
2024-07-21 06:32:27 +02:00
Turánszki János a8ff487e1f more packing for shader structures (#895) 2024-07-20 12:28:44 +02:00
CitroenGames e891e0140a Fixed: Cmake doesnt include Windows Template (#894)
* Fixed windows template not being included

* added and modified cmake files

added cmake in the template folder
modified cmake file in root directory because we dont need platform depenedend option imo
2024-07-20 07:13:50 +02:00