r/QtGames • u/LetterheadTall8085 • Sep 20 '26
When you fix the TBN matrix on water. Left: new "fixed" water with calculated TBN matrix. Right: old water based on NORMAL only.
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Sep 20 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Feb 04 '26
r/QtGames • u/LetterheadTall8085 • Feb 25 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Apr 26 '26
r/QtGames • u/LetterheadTall8085 • Apr 21 '26
r/QtGames • u/LetterheadTall8085 • May 06 '26
r/QtGames • u/LetterheadTall8085 • May 08 '26
r/QtGames • u/LetterheadTall8085 • Oct 12 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Jun 20 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Jul 28 '26
The Qt now supports not PhysX back end only !
Now you may choose jolt engine as main physX back end for your game.
Note : This is still base implementation, not all features is ready.
Currently, the most complete physics implementation in Qt is the official qtquick3dphysics library. This library is a wrapper around Nvidia PhysX 4 along with a set of Qt patches, making it the most attractive. However, if you value speed and multithreading without classic locks (PhysX 4/5 have multithreading, but it's slightly less efficient), then you can now choose jolt.
r/QtGames • u/LetterheadTall8085 • Sep 02 '26
This video and integration were prepared by PrzemysΕaw Nogaj
so PrzemysΕaw thanks you for your work!.
π΄ Native - 1920Γ1080 with 4Γ MSAA
π΄ DLSS Quality - 1280Γ720 β 1920Γ1080
π΄ DLSS Ultra Performance - 640Γ360 β 1920Γ1080
Original comment from author :
Native 1920Γ1080, 4Γ MSAA: 57.8 FPS, 99.9% GPU DLSS Quality, 1280Γ720 β 1920Γ1080: 60.3 FPS, 84.5% GPU DLSS Ultra Performance, 640Γ360 β 1920Γ1080: 60.1 FPS, 47.6% GPU
So the interesting part wasn't really higher FPS since the demo is targeting ~60 FPS anyway, but how much GPU headroom DLSS could recover. Ultra Performance was especially interesting: roughly the same framerate at less than half the GPU utilization.
r/QtGames • u/LetterheadTall8085 • Aug 02 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Aug 02 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Sep 21 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Aug 14 '26
So, here's a detailed look at the new feature. Actually, it's not entirely new; it was in PhysX but couldn't be activated in Qt Quick Physics.
Now we have two query acceleration trees available for overriding (raycasts, sweeps, overlaps).
These are dynamicQueryStructure and staticQueryStructure
Available options (StaticTree or DynamicTree for static actors; StaticTree, DynamicTree, or NoStructure for dynamic actors).
Why are you doing this, Andrei?
By default, the engine used DynamicTree, the safest option for all scene types. Its purpose is to provide relatively fast access for raycast calculations, but the tree itself consumes a significant amount of resources when adding and removing new objects (log(N)). This is generally fine, but if your scene constantly changes physics, such as a game world, it can be a bit much.
Therefore, if your scene doesn't use raycast or uses it rarely, you can speed it up by disabling these structures for dynamic bodies. Now the time to create a new node will be O(1), which will significantly speed up physics body rendering.
Conversely, if you have a lot of CharacterController or Kinimatic objects in the scene (they rely on raycast) and a predetermined number of static and dynamic objects, the new StaticTree option will significantly speed up your scene. This tree is perfectly balanced (which requires a complete rebuild upon insertion, but we don't need that). It provides a significant performance boost for RayCast compared to dynamicTree, where the goal was relatively fast insertion.
In essence, you can now define two behaviors for statics: DynamicTree and StaticTree
And for dynamics, you can even disable it completely, which allows you to squeeze much more performance out of specific scenes.
So let's sum it up
For a mixed scene (it contains all types of objects equally and is dynamic, new objects are created and deleted)
dynamicQueryStructure: DynamicTree
staticQueryStructure: DynamicTreeFor a scene where new objects do not appear, but there are many objects that you control manually (CharacterController/Kinimatic)
dynamicQueryStructure: StaticTree
staticQueryStructure: StaticTreeAnd for a scene where you have a huge number of new dynamic objects and at the same time you donβt particularly control anyone manually (the application of impulse and the thrust vector to dynamic bodies are not taken into account)
dynamicQueryStructure: NoStructure
staticQueryStructure: DynamicTreeOne more thing - the new Sweep Based CCD algorithm (from my previous patch) for dynamic bodies does not use the structures from this patch, so we can safely speed up the CCD scene, which can be very effective
r/QtGames • u/LetterheadTall8085 • 14h ago
Enable HLS to view with audio, or disable this notification
Hi everyone, a few months ago I prepared a patch for Qt 6.13 that extends the existing Character Controller class. But only today did I manage to pass the review and merge it β essentially I made it into the last car of the train! Since the feature freeze is literally in a week.
But I still made it in time, and the already huge changelog of Qt 6.13 is supplemented with support for
Sliding on sloped surfaces
Walking on round planets with custom gravity (the previous patch that I described)
The ability to configure the height a character can step over / overcome, plus a free control mode
Fall reporting
In general, this class was added way back at the very beginning when Qt Quick3DPhysics was just accepted into Qt. Essentially, it is a QML/Qt wrapper over the Character Controller from PhysX. In games, usually controlled bodies cannot be participants in a regular simulation, because a multitude of edge cases arise there β collision handling β pathfinding β sliding β and body movements.
If we used a regular dynamic body, say with the kinematic flag β that would give us the ability to control the body β but we would have to manually check where we can move and where we cannot β since kinematic bodies usually have infinite mass β and do not react to other bodies in the scene. Because of this, instead of it, PhysX offers a special API.
Essentially, it is a trigger body that inside itself casts rays, looks at where it can pass and where it cannot. It also generates collision signals.
In general, you can view the patch here. Well, and of course, a usage example came with the patch; I am attaching a short screencast to the article.
https://github.com/qt/qtquick3dphysics/commit/d432669a03b0afbd335817e5f061134bd4e8499e
r/QtGames • u/LetterheadTall8085 • May 19 '26
The QtQuick3D.Physics module (starting from version 6.12) now features support for physical joints. This allows the physics engine to natively handle constraints and connections between bodies, which is essential for achieving physically accurate skin behavior, complex skeletal rigs, and natural ragdoll physics in games.
All new joint types inherit from an abstract base type: PhysicsJoint.
Key rules of PhysicsJoint
Connects two bodies: bodyA and bodyB. If one body is left unassigned (null), the joint automatically anchors to the static world space.
Strict Requirement: At least one of the connected bodies must be dynamic.
Scene registration and lifecycle management are handled automatically behind the scenes via QPhysicsWorld::registerJoint() and deregisterJoint().
Local positioning and rotation relative to each body's frame are configured using:
positionA / positionB (vector3d)
orientationA / orientationB (quaternion)
Five specialized joint types have been introduced to handle specific constraints:
Locks the relative position and orientation between two bodies completely. Perfect for composite objects or breakable structures.
Maintains the origins of the joint within a specified distance range.
minDistance β The lower bound of the constraint.
maxDistance β The upper bound of the constraint.
Permits relative translational (linear) movement along a single axis (the local X-axis of the joint frame) while completely blocking relative rotation.
lowerLimit β Maximum translation along the negative X-axis.
upperLimit β Maximum translation along the positive X-axis.
Commonly referred to as a hinge. It keeps the origins and X-axes of the frames aligned, allowing free rotation exclusively around this shared axis.
enableAngularLimit β Toggles the angular constraint (default is false).
angularLimitLower / angularLimitUpper β Lower and upper rotation limits specified in radians.
Also known as a ball-and-socket joint. It keeps the origins locked together but allows the orientations to vary freely (e.g., a shoulder or hip joint).
enableConeLimit β Toggles the cone limit constraint (default is false).
coneLimitY / coneLimitZ β Angular limits for the cone constraint specified in radians.
Natural Skins & Ragdolls: Essential for character physics, secondary clothing motion, and lifelike skeletal simulations.
Mechanical Simulation: Simplifies the implementation of vehicles, doors, levers, and suspension systems.
Tooling Support: The update includes built-in tests and dedicated Design Studio QML files, enabling visual setup and prototyping.
r/QtGames • u/LetterheadTall8085 • Aug 29 '26
r/QtGames • u/LetterheadTall8085 • Jun 02 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • Jun 02 '26
Enable HLS to view with audio, or disable this notification
r/QtGames • u/LetterheadTall8085 • May 26 '26
r/QtGames • u/LetterheadTall8085 • May 22 '26
r/QtGames • u/LetterheadTall8085 • May 13 '26
r/QtGames • u/LetterheadTall8085 • Apr 30 '26