render mentions on a separate line from the reply content.
This commit is contained in:
1 parent
f8380db665
commit
880640d935
422 files changed
+2864
-920
No files matched your search
+57
-19
@@ -28,94 +28,132 @@ parent_post_id: "1890348863287943363"
|
||||
|
||||
**1/** @NOTimothyLottes
|
||||
|
||||
@simplex_fx @SebAaltonen Yeah it's a common problem, thin wrapper interfaces reduced to the worst platform's caps then called at high frequency ... it's the recipe for poor software engineering
|
||||
@simplex_fx @SebAaltonen
|
||||
|
||||
Yeah it's a common problem, thin wrapper interfaces reduced to the worst platform's caps then called at high frequency ... it's the recipe for poor software engineering
|
||||
|
||||
**2/** @NOTimothyLottes
|
||||
|
||||
@simplex_fx @SebAaltonen Arguments like: we cannot do bindless at the engine interface level because our Intel iGPU binding limits are too low, etc. Just another sign the engine interface failed when all platforms are crippled for the LCD, better if only the LCD platforms are crippled
|
||||
@simplex_fx @SebAaltonen
|
||||
|
||||
Arguments like: we cannot do bindless at the engine interface level because our Intel iGPU binding limits are too low, etc. Just another sign the engine interface failed when all platforms are crippled for the LCD, better if only the LCD platforms are crippled
|
||||
|
||||
**3/** @NOTimothyLottes
|
||||
|
||||
@simplex_fx @SebAaltonen My interfaces are like @simplex_fx perhaps, I only do either extremely high-level, or extremely low-level. So my graphics API is just this below ...
|
||||
@simplex_fx @SebAaltonen
|
||||
|
||||
My interfaces are like @simplex_fx perhaps, I only do either extremely high-level, or extremely low-level. So my graphics API is just this below ...
|
||||
|
||||

|
||||
|
||||
**4/** @simplex_fx
|
||||
|
||||
@NOTimothyLottes @SebAaltonen what is the mark-unmark thing?
|
||||
@NOTimothyLottes @SebAaltonen
|
||||
|
||||
what is the mark-unmark thing?
|
||||
|
||||
**5/** @NOTimothyLottes
|
||||
|
||||
@simplex_fx @SebAaltonen It is a 1:1 map to VkEvents. Mark:set signal after all prior launched dispatches have completed, unmark:clear signal, wait: wait for signal
|
||||
@simplex_fx @SebAaltonen
|
||||
|
||||
It is a 1:1 map to VkEvents. Mark:set signal after all prior launched dispatches have completed, unmark:clear signal, wait: wait for signal
|
||||
|
||||
**6/** @simplex_fx
|
||||
|
||||
@NOTimothyLottes @SebAaltonen Do you have plans to publish your render?
|
||||
@NOTimothyLottes @SebAaltonen
|
||||
|
||||
Do you have plans to publish your render?
|
||||
|
||||
Seems like some super nice and lightweight stuff.
|
||||
|
||||
**7/** @NOTimothyLottes
|
||||
|
||||
@simplex_fx @SebAaltonen The game/rendering side of my current project is too wild/game-specific to be of general usage, but the shell of the engine without the content, that I might release at some point into open source as an example
|
||||
@simplex_fx @SebAaltonen
|
||||
|
||||
The game/rendering side of my current project is too wild/game-specific to be of general usage, but the shell of the engine without the content, that I might release at some point into open source as an example
|
||||
|
||||
**8/** @AgileJebrim
|
||||
|
||||
@NOTimothyLottes @simplex_fx @SebAaltonen What’s the game?
|
||||
@NOTimothyLottes @simplex_fx @SebAaltonen
|
||||
|
||||
What’s the game?
|
||||
|
||||
**9/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen Across many years of working for IHVs and ISVs, I've been doing my own side project personal R&D prototypes geared towards solving all the key systems of a game I'd like to actually put into production some day
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
Across many years of working for IHVs and ISVs, I've been doing my own side project personal R&D prototypes geared towards solving all the key systems of a game I'd like to actually put into production some day
|
||||
|
||||
**10/** @AgileJebrim
|
||||
|
||||
@NOTimothyLottes @simplex_fx @SebAaltonen A combat flight sim MMO?
|
||||
@NOTimothyLottes @simplex_fx @SebAaltonen
|
||||
|
||||
A combat flight sim MMO?
|
||||
|
||||
**11/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen Probably split it up into two: a single player vs world (low scope), then use that to fund what I really want to do which involves multi-player (high scope).
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
Probably split it up into two: a single player vs world (low scope), then use that to fund what I really want to do which involves multi-player (high scope).
|
||||
|
||||
**12/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen FPS-like (more like 3D Descent [DOS], instead of fixed planar), trying to break ground more in world-scope simulation/thinking/destruction but not just thin on-planet-surface stuff, more like full planetoid interior [BLAME! style, an out-of-control world-building machine]
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
FPS-like (more like 3D Descent [DOS], instead of fixed planar), trying to break ground more in world-scope simulation/thinking/destruction but not just thin on-planet-surface stuff, more like full planetoid interior [BLAME! style, an out-of-control world-building machine]
|
||||
|
||||
**13/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen Rewinding time, there have been some interesting milestones in PC gaming
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
Rewinding time, there have been some interesting milestones in PC gaming
|
||||
(1.) Command HQ (and similar) - Modem connected real-time multi-player world scale battle simulation with fog of war ...
|
||||
|
||||

|
||||
|
||||
**14/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen (2.) Starflight https://www.filfre.net/2014/10/starflight/ - procedural universe generation, but with persistent interaction, they actually saved game state back to the floppy disk ... might say today "No Man's Sky" is like a modern version of that procedural universe generation
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
(2.) Starflight https://www.filfre.net/2014/10/starflight/ - procedural universe generation, but with persistent interaction, they actually saved game state back to the floppy disk ... might say today "No Man's Sky" is like a modern version of that procedural universe generation
|
||||
|
||||

|
||||
|
||||
**15/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen Forwarding in time a lot
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
Forwarding in time a lot
|
||||
(3.) Teardown - expanding the lego-style chunky voxel engine with fully dynamic destruction, while still maintaining a high quality render
|
||||
|
||||

|
||||
|
||||
**16/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen But there are a lot of barriers that feel like speed-of-sound barriers (possible) vs speed-of-light (impossible) with PC game tech, examples
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
But there are a lot of barriers that feel like speed-of-sound barriers (possible) vs speed-of-light (impossible) with PC game tech, examples
|
||||
(1.) Voxel games - they stay mostly chunky (you have games like Voxile pushing this a little, with in-voxel details)
|
||||
|
||||

|
||||
|
||||
**17/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen (2.) Physical simulation. NV PhyX had some absolutely amazing demos of destruction, but not really anything that went all in on massive destruction BECAUSE the game is still on the CPU, and the GPU is limited to just graphics ... seems like still a massive opportunity
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
(2.) Physical simulation. NV PhyX had some absolutely amazing demos of destruction, but not really anything that went all in on massive destruction BECAUSE the game is still on the CPU, and the GPU is limited to just graphics ... seems like still a massive opportunity
|
||||
|
||||
**18/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen (3.) And the biggest one IMO: many do procedural generation and stop there. But it is the MIX of procedural rules and simulation that actually generates interesting behavior and content, that is very under-explored
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
(3.) And the biggest one IMO: many do procedural generation and stop there. But it is the MIX of procedural rules and simulation that actually generates interesting behavior and content, that is very under-explored
|
||||
|
||||
**19/** @NOTimothyLottes
|
||||
|
||||
@AgileJebrim @simplex_fx @SebAaltonen So the inflection point IMO was GPUs getting fast enough compute where triangle rendering wasn't required, and then getting large enough memory, where one could devote it to {high/low frequency simulation,persistence,etc} instead of "textures"
|
||||
@AgileJebrim @simplex_fx @SebAaltonen
|
||||
|
||||
So the inflection point IMO was GPUs getting fast enough compute where triangle rendering wasn't required, and then getting large enough memory, where one could devote it to {high/low frequency simulation,persistence,etc} instead of "textures"
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+18
-6
@@ -28,29 +28,41 @@ parent_post_id: "1890348863287943363"
|
||||
|
||||
**1/** @SebAaltonen
|
||||
|
||||
@simplex_fx @NOTimothyLottes I briefly discussed this topic in my SIGGRAPH 2022 talk. The problem is that if you write a completely custom renderer for each platform, you have LOTS of platform specific code, which is super hard to maintain when your requirements change. 5x work for refactor is not fun.
|
||||
@simplex_fx @NOTimothyLottes
|
||||
|
||||
I briefly discussed this topic in my SIGGRAPH 2022 talk. The problem is that if you write a completely custom renderer for each platform, you have LOTS of platform specific code, which is super hard to maintain when your requirements change. 5x work for refactor is not fun.
|
||||
|
||||
**2/** @SebAaltonen
|
||||
|
||||
@simplex_fx @NOTimothyLottes Also with good design, you can almost 1:1 wrap Vulkan/Metal/DX12 under the same thin wrapper, so you don't end up wasting performance in a wrapper. Now you can write your low level rendering code once.
|
||||
@simplex_fx @NOTimothyLottes
|
||||
|
||||
Also with good design, you can almost 1:1 wrap Vulkan/Metal/DX12 under the same thin wrapper, so you don't end up wasting performance in a wrapper. Now you can write your low level rendering code once.
|
||||
|
||||
**3/** @SebAaltonen
|
||||
|
||||
@simplex_fx @NOTimothyLottes Good design == use placement heaps everywhere, use argument buffers (also in Metal) so that your memory management and binding model is identical. This way you don't need to send any data though the API wrapper. Write data directly to GPU memory, then call the wrapper to draw.
|
||||
@simplex_fx @NOTimothyLottes
|
||||
|
||||
Good design == use placement heaps everywhere, use argument buffers (also in Metal) so that your memory management and binding model is identical. This way you don't need to send any data though the API wrapper. Write data directly to GPU memory, then call the wrapper to draw.
|
||||
|
||||
**4/** @SebAaltonen
|
||||
|
||||
@simplex_fx @NOTimothyLottes Also separating CPU->GPU data upload completely from drawing allows you to upload data at change frequency instead of draw frequency. Many big engines are slow as they upload data per draw call. That's bad design. Couples upload/draw tightly together. Must pay for both.
|
||||
@simplex_fx @NOTimothyLottes
|
||||
|
||||
Also separating CPU->GPU data upload completely from drawing allows you to upload data at change frequency instead of draw frequency. Many big engines are slow as they upload data per draw call. That's bad design. Couples upload/draw tightly together. Must pay for both.
|
||||
|
||||
**5/** @yuusakumenka
|
||||
|
||||
@SebAaltonen @simplex_fx @NOTimothyLottes I've seen advised to use graphics queue (supporting transfer) for cpu write once gpu draw once data (immediate data recreated every frame).
|
||||
@SebAaltonen @simplex_fx @NOTimothyLottes
|
||||
|
||||
I've seen advised to use graphics queue (supporting transfer) for cpu write once gpu draw once data (immediate data recreated every frame).
|
||||
Then use separate data upload for data that suffers less frequent update (like per-instance scene data of a level editor).
|
||||
Is it bad advice?
|
||||
|
||||
**6/** @yetmania
|
||||
|
||||
@SebAaltonen @simplex_fx @NOTimothyLottes Would this work for mobile phones?
|
||||
@SebAaltonen @simplex_fx @NOTimothyLottes
|
||||
|
||||
Would this work for mobile phones?
|
||||
I thought that keeping the scene resident on the GPU relies on indirect draws with a count buffer (filled by a GPU culling computer shader) and bindless resources.
|
||||
IIRC, these two are not well supported on mobile phones.
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1890348863287943363"
|
||||
|
||||
**1/** @count_mascetti
|
||||
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes Every time I abstract at a higher-level I end up precluding some use-case that I didn't anticipate, perhaps because I'm still learning and lack the whole picture. I find it very hard to write high-level graphics abstractions that are performant and flexible enough.
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes
|
||||
|
||||
Every time I abstract at a higher-level I end up precluding some use-case that I didn't anticipate, perhaps because I'm still learning and lack the whole picture. I find it very hard to write high-level graphics abstractions that are performant and flexible enough.
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1890348863287943363"
|
||||
|
||||
**1/** @matiasgoldberg
|
||||
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes You can do whatever you want the API. Just because you can read from a GPU buffer you just wrote doesn't mean you should.
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes
|
||||
|
||||
You can do whatever you want the API. Just because you can read from a GPU buffer you just wrote doesn't mean you should.
|
||||
|
||||
A thin wrapper allows enforcing certain guarantees and good practices to avoid race conditions or common corruption pitfalls
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1890348863287943363"
|
||||
|
||||
**1/** @RyDawgE256
|
||||
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes I don't disagree... but the reason is that 99% of programmers don't gaf about the specifics of their renderer... which is a shame... but an unambiguous fact nonetheless
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes
|
||||
|
||||
I don't disagree... but the reason is that 99% of programmers don't gaf about the specifics of their renderer... which is a shame... but an unambiguous fact nonetheless
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1890348863287943363"
|
||||
|
||||
**1/** @pagedeux
|
||||
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes the render pipeline is basically a full piece of software trapped in inside of another software
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes
|
||||
|
||||
the render pipeline is basically a full piece of software trapped in inside of another software
|
||||
|
||||
i guess that's why they call the compiled shader a "program"
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1890348863287943363"
|
||||
|
||||
**1/** @vanderschnarzen
|
||||
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes I have exactly that. My abstraction is basically just mesh and material. If you abstract on a low level you usually have to go with the smallest common denom- which prevents you from really taking advantage of a specific api. Opinions might differ, but that's just my two cents...
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes
|
||||
|
||||
I have exactly that. My abstraction is basically just mesh and material. If you abstract on a low level you usually have to go with the smallest common denom- which prevents you from really taking advantage of a specific api. Opinions might differ, but that's just my two cents...
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+3
-1
@@ -37,4 +37,6 @@ Branches: [[archive/threads/simplex_fx/2025-02-14-hey-gpu-guys-like-sebaaltonen-
|
||||
|
||||
**2/** @songohab
|
||||
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes Exactly the question I was asking myself lol. Always felt like 3D apis SHOULD be specific. But I’m just a noob
|
||||
@simplex_fx @SebAaltonen @NOTimothyLottes
|
||||
|
||||
Exactly the question I was asking myself lol. Always felt like 3D apis SHOULD be specific. But I’m just a noob
|
||||
Reference in new issue
Block a user