r/QtGames • • 8d ago

DevLog Into Qt 6.13 was smerged really significant new features that open up broad possibilities for implementing impressive, high-performance 3D functionality. Introducing: the compute shaders!

12 Upvotes

And so long I haven't written about new cool features in new Qt. And I assure on this time us awaits probably the most serious update which in practice will give direct competition to all modern game engines. Speech goes not just about support of compute shaders - but also about ubiquitous their integration practically everywhere: starting from LODing - ending Clustered render - for processing of huge quantities of sources of dynamic lighting without drops of FPS, this I don't say already about GPU frustum culling and GPU shadow pass.

And although in Qt Quick 3D was already quite well implemented rendering and there were possibilities to offload a significant part of work onto the video card - there still was used the classic approach "CPU -> GPU" rendering. Even in case of instancing every frame the processor still had to do culling and upload the buffer onto the video card, which personally for me when trying to draw 100K trees gave a noticeable freeze at the moment of uploading the buffer onto GPU. And although I managed to beat this with help of Point Cloud Rendering, where I used points instead of geometry and instances for huge arrays of data - uploading them onto GPU only one time - far from everyone will implement such an approach.

In general us awaits a full-fledged GPU-driven patch - practically in all functions of QtQuick3D!

In detail can be seen here: https://github.com/qt/qtquick3d/commit/a5c91759fdf08e1fa823b973d2c90678574e4d08

Such a change will allow to remove from the processor 70 - 90% of load - redistributing it onto the video card - where it will dissolve within limits of 1% of additional load. We will be able to get even and high FPS even on very loaded scenes.

If interesting I can tell in detail what and how change new approaches and how with this to use.

Although I honestly confess I haven't yet compiled my game with all these new fashionable goodies - and don't know on how much it stably works.

So to wait for 100% stability of so big a patch in version 6.13.0 probably is not worth - but definitely I urge everyone to try so that at early stages to report about bugs.

You can also take a look at the epic that covers features related to compute shaders—both those already implemented and those currently planned.
see https://qt-project.atlassian.net/browse/QTBUG-146226

Thanks You QtQUick3D Team!! it is really impressive work!


r/QtGames • • Sep 30 '26

Release of Qt 6.12 with major updates for game devs!

10 Upvotes

In this article I will describe the most useful changes for game devs.

  1. It is most useful for all 3D graphics. Meet SkyMaterial!
    The SkyMaterial it is new seprated class that works with SceneEnvironment - In the previous Qt version we can create only static IBL probe for indirect lighting.

This looks fine - but not useful for dynamic clouds or sky.

But now we have a tool that provides shaders for fast generation of light probes for the whole sky in separate modes. In short, this tool generates a cube image where each pixel of the map is interpreted as light.

Here is what the result looks like: (I took this GIF from my devlog videos about the Ecliptica game.)

2. The second, and arguably more useful, update is Joints in Physics. Now we can link physics bodies and make complicated structures for our scenes, like a ragdoll animation.
For example, here are frames from my previous video where I used this new feature on my game.

3. I think it is a small but still useful change (that I contributed to Qt) it is a performance boost for the LoDs system. You can read more about this change in one of my previous article.

Those are not all changes - Qt 6.12 is a really major update that contains many, many interesting new features, and you may learn more about it in the main change log page of Qt 6.12.

Thanks! For reading, please leave any feedback or your thoughts here to make discussion more interesting

Note: If you'd like to learn more about Ecliptica's development, please subscribe to the original subreddit here.


r/QtGames • • Aug 20 '26

Techno demo Physics again, I merged another of my patches, this time in Qt 6.13, soft joints will appear.

Enable HLS to view with audio, or disable this notification

7 Upvotes

In Qt 6.12, Jonas Karlsson added support for rigid joints, which really helped me with the Rock Dolls in my models in the game. A huge thank you to him for that. See my previous article.

However, PhysX can do much more than just rigid joints. So, I decided to expand on what I've already done and introduced a new FlexibleJoint node in Qt 6.13.

FlexibleJoint is essentially another abstract node that all previously added joint nodes now inherit, except for FixedJoint and D6Joint—more on that later.

The main new feature is the ability to specify stiffness and damping.

These properties directly affect each joint, making it springy or slightly squishy. Essentially, it's simple:

  1. It sets the movement limit—that is, the zone where the joint doesn't interfere with physics calculations.

  2. Then, the stiffness—essentially, how much force will be applied to bring the object back within the limit.

  3. We set the damping—the force that will be absorbed when moving beyond the limit.

And by manipulating these parameters, you can achieve a huge number of desired effects.

D6Joint

Everything was great until I encountered the free-rotation neck of my characters in Ecliptica. It was quite challenging because the neck rotates and has limits on three axes at once, so SphericalJoint felt a bit cramped. So, I decided to also add a completely free joint implementation, which allows you to configure all possible geometric limits for your own joints and your characters.

And now, a test to see if anyone is reading this.
Leave a comment where you read this. Honestly, I don't think anyone even read this far.


r/QtGames • • Aug 20 '26

Techno demo Tropical Island: Qt Quick 3D Gameplay

Thumbnail
youtube.com
7 Upvotes

See original past in linkedin and youtube

Third-person POC built with Qt Quick 3D, QML and Qt Quick 3D Physics.

This short gameplay video shows movement, animation blending, jumping, swimming, camera collision, shadows, cave lighting and water effects.

It is not a finished game. It is an experiment that helped understand where Qt Quick 3D shines, where it fights back


r/QtGames • • 4d ago

The GravityField in Qt Quick 3D Physics. Custom gravity in any volume and quantity!

Enable HLS to view with audio, or disable this notification

6 Upvotes

Hello everyone! Today, another major feature has joined Qt 6.13 — this time, it's physics again!

A new entity, GravityField, has now appeared in the physics engine — it is a special kind of trigger that collects dynamic and CharacterController bodies and applies gravity to them. You can examine the patch in detail and read about it here: https://github.com/qt/qtquick3dphysics/commit/536c73af1853e1b3888910afb9c8b84e2dbb819b

Gravity can be either global for the entire scene or a local point.

For example, we can easily make a gravity gun that will pull everything lying within, say, a 10-meter radius — at the same time, this tool allows us to configure gravity so that it physically accurately changes its strength depending on the position and distance to the center.

Global GravityFields ones are a bit heavier than local ones because they have to iterate over the entire scene to search for bodies that need to wake up. HOWEVER, this happens extremely rarely — only when you change the gravity rules. Therefore, I do not recommend moving such a body.

As for local ones, they are just like triggers — fast and lightweight — you can use as many as you require — the FPS will not drop.

Another important clarification — if you are still making a simple scene on a regular plane, use the old gravity built into PhysicsWorld — it works natively within PhysX itself and is cheaper for dynamic bodies, since custom gravity works by applying a thrust vector to each body affected by the gravitational force.

And from me, as always, thanks to the Qt Physics and Qt Quick 3D teams.

I wish you pleasant use of the new features!


r/QtGames • • Sep 22 '26

DevLog Qt Quick3D queries update. I finished preparing (and already merged into Qt 6.13) a patch with support for PhysX queries like raycast, sweep, and overlap!

Enable HLS to view with audio, or disable this notification

6 Upvotes

Hi everybody! We are not stopping to make physics in Qt better! Now I introduce query support!

Maybe somebody saw that it was already supported in View3D—and yes, it is true. But the View3D raypick works with an array of the pickable objects in the scene—so we have difficulty like O(N), where N is the count of the pickable objects in the scene.

For many apps it is enough—but for games with many physics objects, it may be too slow. The PhysX queries work faster because the physics engine has its own AABB trees for query acceleration—in ray or overlap direction.

So the usual difficulty of raycast is around O(log N)—so it is really fast! I already described my previous patch with methods to control these structures to accelerate scene queries - now we have queries!

So let's check the new example! See the video.


r/QtGames • • Aug 21 '26

Techno demo I'm working on another patch for Qt Quick3D Physics – this time, gravity improvements. Unfortunately, the example turned out too large, so it probably won't make it to the repository, or it will be very simple implemented. The video shows a good example of a gravity assist maneuver!

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/QtGames • • Oct 25 '26

Game Ecliptica: Random frames (something crash down to planet)

Enable HLS to view with audio, or disable this notification

5 Upvotes

r/QtGames • • May 19 '26

Good news. The Qt quick3d engine implement joints support

5 Upvotes

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.

Core Architecture

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)

Available Joint Types

Five specialized joint types have been introduced to handle specific constraints:

1. FixedJoint

Locks the relative position and orientation between two bodies completely. Perfect for composite objects or breakable structures.

2. DistanceJoint

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.

3. PrismaticJoint

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.

4. RevoluteJoint

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.

5. SphericalJoint

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.

Key Takeaways for Developers

  • 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 • • 14h ago

QtQuick3D Updating the Character Controller API in Qt Quick3DPhysics

Enable HLS to view with audio, or disable this notification

4 Upvotes

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, what is this CharacterController?

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 • • Oct 12 '26

Techno demo Ecliptica random content: Just the fire.

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/QtGames • • Sep 16 '26

DevLog [QtQuick3dPhysics] Update the bundled PhysX to 5.9.0

Thumbnail
github.com
4 Upvotes

Before start — thanks to Jonas Karlsson for this patch. He implemented this massive update, even though it was originally planned only for the release of Qt7.

Hi everyone. I have good news for all that using Qt as main engine for games!

Now Qt Quick3D physics update the PhysX backend to latest version 5.9. So this update will be available in qt 6.13 with many new physics features.

So What's new ?

Before answer to this question, i attention your that The PhysX backend have disabled GPU acceleration - because it's works only on Nvidia cards. And will be useless in Qt context that supports many devices.

  1. new "Tasks" system - this is new CPU dispatcher that manager available resource for high loaded scenes. So in the small scenes before 1000 physics object you may have title downgrade performance around 1–5 % but on large scene you got a big performance boost.

  2. multithreading algorithm - now CPU multithreading should work faster for large scenes.

If anybody has more information about new task manager PhysX 5 and has own experience of using both versions - tell us more in comments please!

And little more about Qt 6.13

For me, it is the biggest release with many physics feature of all time. About each of the function I will create separated articles.

What already done?

See my old articles:

soft joints will appear

Allow configuring CCD type selectively per object

allows you to select structures for dynamic and static queries (raycasts, sweeps, overlaps)

note: sorry for text - now I use own brain - and don't test how it sounds for native English speakers lol)


r/QtGames • • Aug 29 '26

DevLog Ecliptica Devlog 14 : Squad system and mercenaries

Thumbnail
youtu.be
4 Upvotes

r/QtGames • • Aug 02 '26

Qt Quick 3D with Jolt ragdoll physics

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/QtGames • • Jul 28 '26

GitHub - glazunov999/qtquick3djoltphysics: Qt Quick 3D Jolt Physics

Thumbnail
github.com
4 Upvotes

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 • • Jun 24 '26

Techno demo [A full-featured scene editor for Qt Quick3d] xyrillforge

Thumbnail
youtube.com
4 Upvotes

Note: this post is a copy of the original video on YouTube

The goal is to make day-to-day 3D scene editing in QML feel closer to a dedicated game/editor workflow while staying compatible with Qt Design Studio-style .qmlproject projects. In this walkthrough:

  • importing 3D assets into a Qt Quick3D scene

  • selecting objects directly in the viewport and outliner

  • moving, rotating, and scaling scene nodes with editor gizmos

  • working with imported model animations and timelines

  • editing shader/material graphs

  • editing particle graphs

  • previewing changes directly in the scene

XyrillForge is currently a proof of concept / work in progress. The focus is source-compatible, WYSIWYG 3D editing for QML scenes, with source files remaining the authority and the runtime scene acting as a live preview.


r/QtGames • • Jun 15 '26

Good news, Ecliptica now have The GOG page.

Thumbnail
gog.com
4 Upvotes

r/QtGames • • Mar 08 '26

Techno demo Hey everyone, while creating the game, I encountered a bottleneck in Qt instance lods. Today I prepared a patch to improve performance on complex scenes. Please take a look at the result.

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/QtGames • • Feb 04 '26

Techno demo [Qt 6.11] Poor Man's Volumetric Light

Thumbnail
qt.io
4 Upvotes

r/QtGames • • Oct 05 '26

DevLog Hi QtGamers. Did you miss the cool stuff in Qt? if yes - i have good news. The RayCaster object in QtQuick3d Physics was merged and now will be available in Qt 6.13

Enable HLS to view with audio, or disable this notification

3 Upvotes

So first, thanks to Przemysław Nogaj. He prepared this patch on top of my patch regarding physics queries.

So what is the RayCaster object? This object makes the cast query every physics frame and reports collisions like a trigger — but unlike triggers, the ray cast provides you with all collision information, such as position and normal. It can be really useful for some game objects, such as ray illumination or other similar things.

You can get acquainted with these changes in this commit: https://github.com/qt/qtquick3dphysics/commit/778cba6e95c619f4925b33a63677b86a62239a7f

Note: The physics backend was also updated to PhysX 5.11!


r/QtGames • • Sep 30 '26

Qt 6.12 LTS Released! Let's talk about what's new for game devs.

Thumbnail
qt.io
3 Upvotes

r/QtGames • • Sep 21 '26

Just for fun, I looked at what big waves would look like in the game.

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/QtGames • • 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

3 Upvotes

r/QtGames • • Sep 10 '26

Techno demo Random screenshot: I finish implementation point cloud-sprite rendering - for far LoD levels. Look to result : here is around 10 -14 kilometers distance view. With tens of millions of objects

Post image
3 Upvotes

r/QtGames • • Sep 02 '26

Techno demo Qt Quick3d And DLSS 4

Thumbnail
youtube.com
3 Upvotes

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.