6 Months of Voxel Physics Engine Optimizations

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 188

  • @DeGandalf
    @DeGandalf 9 месяцев назад +250

    Super cool having a bit of a deeper dev log style video. Sadly the YT compression did the video a bit dirty...

    • @GrantKot
      @GrantKot  9 месяцев назад +5

      I've reuploaded a 4K60 version. This was my first time doing a recap video so I used redownloaded footage from the past. But I have gone back and recorded new native 4K clips, not upscaled. In the future I will upload all videos in 4K.

  • @franzusgutlus54
    @franzusgutlus54 9 месяцев назад +157

    RUclips Compression: "let me murder these particles"

    • @GrantKot
      @GrantKot  9 месяцев назад +4

      I've reuploaded a 4K60 version. This was my first time doing a recap video so I used redownloaded footage from the past. But I have gone back and recorded new native 4K clips, not upscaled. In the future I will upload all videos in 4K.

  • @notapplicable7292
    @notapplicable7292 9 месяцев назад +125

    It's amazing how many incredibly skilled programmers end up building voxel engines.

    • @andreaspoulsen8017
      @andreaspoulsen8017 9 месяцев назад +28

      Would be cool if they got togheter and made a general voxal engine too see what games can be done with it.

    • @alexg963
      @alexg963 9 месяцев назад +13

      I think that’s probably just because they can more closely approximate the real world than other types of digital simulations. Even Minecraft is more realistic in many ways than other game engines (while having a lower spatial resolution than other voxel engines, obviously). Most hyper-realistic simulations tends to have that atomization of digital objects in some form since you need to run the physics calculations on as many points in space as possible. Like even Microsoft Flight Simulator, which is arguably the best looking game/simulator out there, simulates aerodynamics by running the calculations on lots of different points on the body of the aircraft. Voxel engines kind of have that ability built in rather than having to lay polygonal models on top of the simulation. But, like always, there’s a trade-off between the volumetric resolution and the processing power required.

  • @GeorgiKrastevMusic
    @GeorgiKrastevMusic 9 месяцев назад +1

    this man single-handedly working on making simulation theory real

  • @Skeffles
    @Skeffles 9 месяцев назад +3

    Wow! Fascinating how you've been optimising this. It's amazing to see it all moving around so smoothly.

  • @TomShrader
    @TomShrader 9 месяцев назад +39

    Wow, I can't believe this video was recommended to me. I was following your work... was it 10 years ago? More? When you were making the Grantophone instrument app on iPhone. Can't say I'm not sad you never made a working Android version (though I haven't looked since then), but it's amazing to see what you're up to these days.
    Absolute breakthroughs man, congratulations and well done, keep up the good work!

    • @GrantKot
      @GrantKot  9 месяцев назад +9

      Yeah, time flies, last Grantophone release on iOS was 2011. I think I'll just try to opensource it at some point or just make it webassembly. I actually don't have the code anymore but I can rewrite it.

    • @yashsaxena9
      @yashsaxena9 9 месяцев назад

      ​@@GrantKot hello sir, this is amazing. If possible please opensource it, it would prpve to be really inspiring and helpful resource for new devs. Might as well stream the coding process live as well to showcase the challenges and struggles live while creating it. It would be helpful to learn the process of creating amazing things like this to other devs.
      Thank you
      (Again, I love the project!)

    • @GrantKot
      @GrantKot  8 месяцев назад

      Hi Tom, I've been on a bit of a WebAssembly adventure these past couple weeks and I might have a WIP Grantophone that works on Android. I haven't tested on any Android devices yet but it is here: grantkot.web.app/gp/index.html
      It can also be added as a PWA so the address bar goes away. If the latency is good and stuff, let me know and I should be able to add in the other features too.

  • @Zuijderhoudt
    @Zuijderhoudt 9 месяцев назад +6

    Just, plain, "Wow!" as so many have already written below.
    Deep respect for the dedication it takes to get all this achieved.
    Keep up this awesome piece of work...

  • @freevipservers
    @freevipservers 9 месяцев назад +2

    These simulations are some of the most impressive things ive ever seen! very fun to play with the demos.

  • @GrantKot
    @GrantKot  9 месяцев назад +18

    New 4K version of this video here: ruclips.net/video/3259aycYcek/видео.html
    Sorry about the compression here. I usually upload 4K60 but because this is an overview over a long period of time I had to redownload some videos from YT and now they are triple compressed.

    • @aw_dev
      @aw_dev 9 месяцев назад +3

      Great work on the physics aspect! I'm honestly shocked at the speed of your algorithms. Looking forward to further developments!

  • @burntcerial
    @burntcerial 9 месяцев назад +1

    The ending with the ships looks like the making for a really fun game

  • @capyfan
    @capyfan 9 месяцев назад

    Amazing! I can't even begin to comprehend how this works. So many particles, each with its own physics, all in real time... beautiful!

  • @devsuvara
    @devsuvara 5 месяцев назад

    Great particle physics simulation. Especially good to see it done in realtime.

  • @AIShipped
    @AIShipped 9 месяцев назад +2

    I cant imagine the amount of work and motivation this took. Great progress!

  • @fios4528
    @fios4528 9 месяцев назад +4

    The work you've been doing has been absolutely inspiring. I hope my project can someday reach this level of quality.

  • @obrooks
    @obrooks 9 месяцев назад +1

    Most of the technical stuff went over my head, but this is crazy impressive! Keep it up!

  • @dkaloger5720
    @dkaloger5720 9 месяцев назад

    Damn , impressive. I have tried running simulations like this in parallel and it’s really hard ,nice work

  • @jsierra88
    @jsierra88 9 месяцев назад +6

    What a great job man. Thank you for sharing.

  • @adenzu
    @adenzu 9 месяцев назад

    you deserve a bigger audience, great work, i will follow your progress

  • @bradhammond923
    @bradhammond923 9 месяцев назад

    Loving watching this development. Just learning fluid basic sims myself and this is really inspiring.

  • @ssentiental
    @ssentiental 9 месяцев назад

    soo awseome ive been catching up occasionally and i rly cant wait to see how far this gets

  • @AndreyRomanenkov
    @AndreyRomanenkov 9 месяцев назад

    Instant subscribe! I am also a fan of luquid simulations. For now it seems you have achieved everything what I wanted. Although as they told me before It takes a lot of time.
    It is good to know it is quite possible! Thank you for inspiration. It may help to fight my procrastination)

  • @publicalias8172
    @publicalias8172 8 месяцев назад

    Amazing work Grant!

  • @_supervolcano
    @_supervolcano 9 месяцев назад

    I love this. Beautiful video, peaceful vibe. Seeing the progress is very nice.

  • @shade4467
    @shade4467 7 месяцев назад

    This honestly looks amazing

  • @DingleFlop
    @DingleFlop 9 месяцев назад +1

    THIS IS SO INSANELY AWESOME!!

  • @CoinsBand
    @CoinsBand 9 месяцев назад

    This looks incredible. I’d love to see a Waverace style game with these simulated water physics.

  • @pawelczubinski6413
    @pawelczubinski6413 3 месяца назад

    That’s an incredible performance for cpu!

  • @TrigamDev
    @TrigamDev 9 месяцев назад

    This is seriously underrated, this work is amazing! Thank you RUclips recommendations

  • @swampsy
    @swampsy 9 месяцев назад

    this is dope - awesome work!

  • @bro-rubro
    @bro-rubro 9 месяцев назад

    that is genius work,
    please keep sharing!!

  • @yogeshkumarsharma9091
    @yogeshkumarsharma9091 9 месяцев назад

    Just Amazing!! I am learning game development and this is the video that that shows how cool programming is..... Thanks a lot sir, Hope you will put move videos on optimizations.

  • @robocu4
    @robocu4 9 месяцев назад

    Really enjoyed this vid. Subscribed

  • @gatto1013
    @gatto1013 9 месяцев назад

    Beautiful. I am very impressed.

  • @C4Vendetta
    @C4Vendetta 9 месяцев назад +1

    A voxel pirate boat sim game would be siiiiiiick

  • @thegibusguy4969
    @thegibusguy4969 9 месяцев назад

    Wow, your demos look mesmerizing!

  • @voodoo5191
    @voodoo5191 9 месяцев назад

    I think I saw you on twitter, great video man :D

  • @AshLordCurry
    @AshLordCurry 9 месяцев назад

    Upscaling to 4K (just a simple bilinear scaling) for a these kind of video could make it much more viewable! Great video

    • @GrantKot
      @GrantKot  9 месяцев назад

      I've reuploaded a 4K60 version. This was my first time doing a recap video so I used redownloaded footage from the past. But I have gone back and recorded new native 4K clips, not upscaled. In the future I will upload all videos in 4K.

  • @clonkex
    @clonkex 9 месяцев назад +7

    This is cool, although with the combination of extreme compression artefacts (try rendering at 4k even if you only use 1080p footage to avoid YT compressing it to death) and the constant unpredictable camera movement I found it quite hard to watch or even see what was going on.

    • @GrantKot
      @GrantKot  9 месяцев назад +3

      I've reuploaded a 4K60 version. This was my first time doing a recap video so I used redownloaded footage from the past. But I have gone back and recorded new native 4K clips, not upscaled. In the future I will upload all videos in 4K.

  • @BogusLarry
    @BogusLarry 9 месяцев назад +2

    Very cool! The water looks so nice it made me thirsty. Hope you got to see Dune 2, that's the best movie I've seen in years.

    • @GrantKot
      @GrantKot  9 месяцев назад +1

      Yup, I saw it in IMAX 70mm! I’ll get the digital version too to analyze everything in detail.

  • @autodidact7127
    @autodidact7127 9 месяцев назад

    This is more impressive that even I realize

  • @jellyraider7536
    @jellyraider7536 9 месяцев назад

    This is beautiful.

  • @linksword7110
    @linksword7110 9 месяцев назад +1

    Holy, this looks amazing

  • @colorwithkurt
    @colorwithkurt 9 месяцев назад

    Not a coder. But I'm an artist. Glad YT showed me this! This is art!

  • @topheye6318
    @topheye6318 9 месяцев назад

    Love the bits of humour in this video 😁

  • @STANI420
    @STANI420 9 месяцев назад

    dang this looks awesome

  • @Mtaalas
    @Mtaalas 9 месяцев назад

    This is great study into how frigging fast modern hardware is if utilized well. And to do that needs knowledge of how the hardware works on quite low level. It's a shame that this skill isn't in high regards anymore... it should be. We could do amazing things and save energy as we go about it.

  • @obecerra1228
    @obecerra1228 9 месяцев назад

    so cool man great work

  • @AngeloXification
    @AngeloXification 9 месяцев назад

    Videos like these deserve higher compression

    • @GrantKot
      @GrantKot  9 месяцев назад +1

      I've reuploaded a 4K60 version. This was my first time doing a recap video so I used redownloaded footage from the past. But I have gone back and recorded new native 4K clips, not upscaled. In the future I will upload all videos in 4K.

    • @AngeloXification
      @AngeloXification 9 месяцев назад

      @@GrantKot Legendary

  • @nolram
    @nolram 9 месяцев назад

    Awesome work Grant!

  • @SIRENSCINEMATIC-SCOTLAND
    @SIRENSCINEMATIC-SCOTLAND 9 месяцев назад

    This was amazing!

  • @LightningA98
    @LightningA98 9 месяцев назад

    I would play the crap out of a pirate game with the sea and ships from the last scene. Really beautiful.

  • @Gabriel-yk4it
    @Gabriel-yk4it 9 месяцев назад +2

    Once you get a first person character and some voxel building mode, you should definitely make this a game and put it on steam!

  • @AndersHansgaard
    @AndersHansgaard 9 месяцев назад

    Amazing 👌 However, the camera movement is largely confusing - but better during the sand segment.
    Sometimes, a static camera is the best choice for showing what's going on - and it might help improve a bit on the damage done by compression.
    Slow motion might also be very cool for showing off this incredible work. Thanks for sharing! Instant like and subscribe ✌

    • @GrantKot
      @GrantKot  9 месяцев назад +1

      Thanks! I have now completed full 4K60 redo of this video.

    • @AndersHansgaard
      @AndersHansgaard 9 месяцев назад

      @@GrantKot I watched it as soon as I saw it pop up - great stuff, and thanks for sharing 👌

  • @AetherXIV
    @AetherXIV 9 месяцев назад

    this amazing man.

  • @shadow_blader192
    @shadow_blader192 9 месяцев назад

    looks amazing

  • @stimpyfeelinit
    @stimpyfeelinit 9 месяцев назад +6

    that is so impressive! did you have an idea of what sort of game you wanted to make? i was imagining a cool ants nest game where you have to build a nest without it caving in while water comes in periodically lol

    • @GrantKot
      @GrantKot  9 месяцев назад +12

      I started out with a game about cleaning oil spills but nowadays I see a lot of possible ways to go. I think there are a lot of engineering game possibilities. Ship simulator, monster truck simulator, bridge/building during storm/tsunami simulator. I also very much want to try out some evolution stuff, especially amphibious locomotion. It really just might go user-generated content mode and I would be making sure that it can handle all kinds of different physics phenomena.

    • @fios4528
      @fios4528 9 месяцев назад +6

      @@GrantKot I think you're spot on. This engine tech has so much potential

  • @bovanshi6564
    @bovanshi6564 9 месяцев назад

    Looks fantastic!

  • @BaronVonScrub
    @BaronVonScrub 9 месяцев назад

    Awesome work! Keep it up!

  • @Hector-bj3ls
    @Hector-bj3ls 7 месяцев назад

    I think I understood exactly one word that was said in this video

  • @VRBen
    @VRBen 9 месяцев назад

    Impressive, keep it coming!

  • @rando5673
    @rando5673 9 месяцев назад

    This would be a good foundation for a sick waterbending game

  • @theRealEvoLife
    @theRealEvoLife 9 месяцев назад

    Very nice dude, insane coding skills!

  • @Aqua_Turneur
    @Aqua_Turneur 9 месяцев назад

    i can't wait to play that game!

  • @grebodya
    @grebodya 5 месяцев назад +1

    Эволюция игр/симуляций должна прийти к тому что каждый пиксель будет вокселем, тогда мы получим полную свободу действий в 3D

  • @dbogucki
    @dbogucki 9 месяцев назад

    Wow. Nice work! I have a few questions about your fluid/solid simulation. How do you discretize the domain? Do you have particles like in SPH simulations? Are you actually solving mass and momentum balance equations to have a physically accurate simulation?

    • @GrantKot
      @GrantKot  9 месяцев назад

      Thanks! What I use is called Material Point Method. It is a hybrid particle-grid method, others in this family are PIC or FLIP. Mass and momentum are taken into account and it is mostly quite accurate.

    • @dbogucki
      @dbogucki 9 месяцев назад

      @@GrantKot Thanks a lot! I'll look into that.

  • @IlariVallivaara
    @IlariVallivaara 9 месяцев назад

    With voxels, there are always more boxes to tick!

  • @TR-707
    @TR-707 9 месяцев назад

    holy crap this is amazing

  • @nesy3634
    @nesy3634 9 месяцев назад

    This is actually so fucking cool!!

  • @Maximum_777
    @Maximum_777 9 месяцев назад

    I see you have a Legion Pro 7, I too got a Legion 7 Pro, but I got the AMD variant with the 4090, and got a really good deal on the laptop through a sale. I have been thoroughly enjoying being able to do rather difficult to run things like racing in BeamNG Multiplayer with 16+ players, or pushing Minecraft to stupid render distances with various mods. I'm looking forward to games built on voxel engines like yours, it looks like so much fun to mess around with.
    I do wanna say one thing, I really want to see flight simulation achieved via voxels. My dream would be a full game with a story, built around the idea of making ultra light aircraft, sculpted from wood, much like a balsa model aircraft, which the player can build and then fly in an incredible aerodynamic simulation, achieved utilizing purely voxels. I currently know nothing about coding, and this dream of a game made around this idea is impossible for me to achieve right now, but I think if I ever do get into coding and working with voxel physics simulations like this, that is what I'd do. I want to capture the beauty of flight, and specifically pure glider flight, in a physics simulation where the air flows accurately up and over mountains to replicate ridge lift, alongside thermal soaring and stuff like that. Idk if you'll read this, but I'd love to know where or how you started down your path in making these kinds of simulations. Your simulation with the ships I think is the closest I've seen to a simulation capable of achieving this idea of mine because the ships appear to be flexible, and destructible, which are both aspects crucial for making accurate glider flight simulation.

    • @GrantKot
      @GrantKot  9 месяцев назад

      Yeah, I do want better air simulation at some point so I can handle gases and fire etc as well as wind to blow the sails, and hopefully support flight :). I got started in the beginning making games with GameMaker & Flash. Then 3d modeling and animation, and using the fluid simulation software, RealFlow. Then back into making my game and because we didn't have plugins then like nowadays with Niagara Fluids or Zibra Liquids decided to try rolling my own.

  • @prltqdf9
    @prltqdf9 9 месяцев назад

    Tip: resample sub-1440p videos to at least 1440p so that RUclips retains most of the quality of the original upload (more bit rate granted for higher than 1080p uploads). Add also just a tad of sharpening for good measure.
    I've used VirtualDub2 for sharpening and Lanczos3 resampling. Works well.

    • @GrantKot
      @GrantKot  9 месяцев назад +1

      I've reuploaded a 4K60 version. This was my first time doing a recap video so I used redownloaded footage from the past. But I have gone back and recorded new native 4K clips, not upscaled. In the future I will upload all videos in 4K.

    • @prltqdf9
      @prltqdf9 9 месяцев назад

      @@GrantKot Great news, and the "4K, 6 Months..." video quality looks really nice.

  • @Copa20777
    @Copa20777 9 месяцев назад

    Subd, looking forward to an applicable voxel engine with an easy to use UI..

  • @jaspersgames4094
    @jaspersgames4094 9 месяцев назад

    Looks great! The water does feel a bit sticky on the boats at the end there though.

    • @GrantKot
      @GrantKot  9 месяцев назад

      Thanks! Yeah, base Material Point Method can be a bit sticky I think in the future I can implement some of the newer papers.

  • @sgmvideos5175
    @sgmvideos5175 9 месяцев назад +2

    Reminds me of John Lin, hm... very good looking.

  • @ccsweet2
    @ccsweet2 9 месяцев назад

    6:06 is a great chunky flesh simulation lol

  • @kil98q
    @kil98q 9 месяцев назад

    in someone else his voxel optimizations he cut down on the floats bytes by just keeping track of the delta relative to a certain chunk saved him 6 to 9 bytes depending..

    • @GrantKot
      @GrantKot  9 месяцев назад

      Yeah, could be some thing to explore, keeping track of the particle position relative to tile corner instead of global could let you use 16 bit float, or increase accuracy in 32 bit

  • @jeremymetzler72
    @jeremymetzler72 9 месяцев назад +2

    teardown 2 incoming

  • @815TypeSirius
    @815TypeSirius 9 месяцев назад

    Watching the first 30 seconds its obvious you are using "fractal" simulations by using a few high quality particles and then using rng offsets for the others but I think its a smart choice.

  • @TankorSmash
    @TankorSmash 9 месяцев назад

    Do you have a mirror of this video somewhere? I'd love to see it on Vimeo or something, where the compression is less severe

    • @GrantKot
      @GrantKot  9 месяцев назад

      I have a new 4K60 video where I did fresh screen captures this morning from all the available demos. I will try to see if I can also put up a better version of this video online somewhere.

  • @knightdevredember2781
    @knightdevredember2781 9 месяцев назад

    Amazing!

  • @crestofhonor2349
    @crestofhonor2349 9 месяцев назад

    That's some incredible real time particle simulations. Too bad RUclips compression murders all the detail out of it. I wonder how this would run in a game once everything else is calculated like lighting and other functions

  • @ironmaiden12369
    @ironmaiden12369 9 месяцев назад

    very pretty water

  • @crytek325
    @crytek325 9 месяцев назад

    Really good job! Have you thought about rendering a lot of simulations, storing them, rate them and use them to train an ai model? As far as I know nobody is currently working openly known on such a project (maybe for a reason). Start small however :) Cheers!

    • @GrantKot
      @GrantKot  9 месяцев назад +1

      My main impression of AI models for fluid simulation is they look a bit like multigrid. If it is a CNN it seems actually a bit similar to what I have set up. Like the kernels are like the MPM kernels where velocity gradients are measured etc. What I feel is that I already have the minimum computation required to simulate materials. It might be useful to fit material parameters so that simulated material behaviors more closely match experimental behavior.

  • @kaneymon
    @kaneymon 9 месяцев назад

    If you export your videos with a higher bitrate it should preserve some of the details in the water particles and stuff even in 1080p

    • @GrantKot
      @GrantKot  9 месяцев назад

      I've reuploaded a 4K60 version. This was my first time doing a recap video so I used redownloaded footage from the past. But I have gone back and recorded new native 4K clips, not upscaled. In the future I will upload all videos in 4K.

  • @LuigiMario_1real
    @LuigiMario_1real 9 месяцев назад

    the firestarter 9000

  • @flameofthephoenix8395
    @flameofthephoenix8395 8 месяцев назад

    Nice. Why are the voxels in the water higher resolution than the voxels in the land?

    • @GrantKot
      @GrantKot  8 месяцев назад

      I think I can increase the land voxel resolution by 4x in each axis (or more) in the near future.

    • @flameofthephoenix8395
      @flameofthephoenix8395 8 месяцев назад

      @@GrantKot Hm, interesting.

  • @aw_dev
    @aw_dev 9 месяцев назад +1

    6:40 😂😂😂

  • @jozsab1
    @jozsab1 9 месяцев назад

    all this in 6 months ? pro

  • @majordabalert
    @majordabalert 9 месяцев назад

    Holy moly

  • @jeffmccloud905
    @jeffmccloud905 9 месяцев назад

    looks amazing. but, wouldn't it be substantially faster if you did this on the GPU instead of the CPU?

    • @GrantKot
      @GrantKot  9 месяцев назад +2

      It's a bit tough to say. With most gamer level machines, I think doing the simulation on CPU and rendering on GPU makes sense. Anything less than an Nvidia card ending in 70 or AMD equivalent. Especially on handhelds, or console, I think it's better to have them work as a team. And the memory is unified on APUs. There is also an expectation of raytracing in voxel engines on higher end cards.

  • @christophschneider3260
    @christophschneider3260 9 месяцев назад

    funny words, magic man. ;)

  • @shokweiv
    @shokweiv 8 месяцев назад

    Your work is amazing. I have never seen such a high-quality physical simulation. This may sound a bit rude, but is it possible to view the source code for educational purposes? It would help me a lot

    • @GrantKot
      @GrantKot  8 месяцев назад

      Thanks, while I don't want to open source this at the moment, I have made an open source SPH implementation and you can check my most recent video to learn more.

    • @shokweiv
      @shokweiv 8 месяцев назад

      @@GrantKot Thank you, your work is amazing

  • @jason_m2003
    @jason_m2003 9 месяцев назад

    Amazing!

  • @seccentral
    @seccentral 9 месяцев назад

    This is amazing sim work, but clarify one thing, what do you mean you were super intrigued by intel's cpus and their high core counts ? I really tried listening to that part 3 times but still can't figure out what you mean. I've been using pcs since the days of AMD k6, Duron and Celeron Days. And now I have a Ryzen cpu. The only reason why we have high core counts these days is because AMD broke the almost decade old intel grip on the 4core era. Back to the point :
    What do you mean by being impressed with intel's higher core counts ? Perhaps you meant some sort of special register that may be unique to intel that helps your specific use case ? It makes very little sense to say intel has more cores since their top of the line desktop chips have a mix of bigLITTLE cores that top at 24threads/cpu whilst amd's top at 32. The enthusiast/workstation chips both Xeon W series and Threadrippers share the same story.
    The only place where intel and amd share the same nr of threads (not cores) is the high end mobile market but then again amd's offer with 3d-Vcache may significantly help your use case.
    All in all, you gained one subscriber 🥰 keep up the amazing work !

    • @GrantKot
      @GrantKot  9 месяцев назад +1

      I'm mainly looking at what is available to most gaming consumers. When AMD goes above 16 cores there's a major jump in price right, with HEDT? The 13900K is available for $464. Anyway, once I did the testing my laptop 13900HX beat out my 12 core desktop 5900X. Could be due to DDR5 as well.

    • @GrantKot
      @GrantKot  9 месяцев назад +2

      Anyway, I was able to get the E-cores performing about half a P-core. There was an earlier thing that said they were about 1/4 and I just wanted to see if I could do better by optimizing memory bandwidth. Sometimes I'm drawn to negatively reviewed hardware as well to see if I could do better. Like I was almost curious about the MSI claw to test out how it does compared to the AMD handhelds, but signs point to bad manufacturing by MSI as well. I currently have 3 AMD computers and 2 Intel so not trying to start any CPU wars. The sparse grid was developed also because I felt like it would help the grid data stay on v-cache more.

    • @seccentral
      @seccentral 9 месяцев назад

      @@GrantKot ah I get it now, it makes sense to pick the best value option. And regarding ddr5, yes, In your memory bandwidth intensive usecase, it makes sense that ddr5 would outperform since it's got almost twice the bandwidth (on average). No CPU war intended btw 😅. Also, if you move your simulation from a dual channel to a quad or octa channel system, you should see serious perf jumps there too. Cheers

  • @merlinkater7756
    @merlinkater7756 9 месяцев назад

    Hi, very cool! But unrelated question;
    As someone who doesn't know too much about computers, i have the feeling that i the last 20 years or so computer technology hasn't really improved much. As in, we still use the same tech and principles as back then, but industry has made everything cheaper and we figured out to make things smaller and more efficient so things have in fact improved, while still using the same technology. Is this true? If so, then it only makes sense that technology improves incrementally (with diminished returns even) over time. The only place left then to truly improve things is with optimization. Like how is seen in the video. Fax? Also i wonder what AI is able to bring to the table but i will restrain myself from bringing up such a buzzword. Oops too late.

    • @GrantKot
      @GrantKot  9 месяцев назад +1

      I think it is possible we found the bottom limit for price and new CPUs and GPUs will be faster, but also more expensive. So optimization will start coming more into play. But if computers continue to get faster and cheaper, then there isn't much need for optimization.

    • @merlinkater7756
      @merlinkater7756 9 месяцев назад

      @@GrantKot Interesting. Thanks for your thoughts! So in other words there seems to be improvement going on still. Just not at a neck-breaking speed. I must mention this train of thought sparked by a recent video by 2kliksphilip (Release Day VS Hindsight: Computer Injustice) in which he talks about gpu's. It struck me as surprising that a certain older gpu (don't remember the name) is very reputable despite being old, and people regret not buying them back in the day when they were cheap.

    • @MichaelPohoreski
      @MichaelPohoreski 9 месяцев назад +1

      Game dev graphics programmer here. There have been _numerous_ improvements in raw hardware speed, core counts, and algorithms.
      CPUs have _tens_ of cores, GPUs have _thousands_ of cores.
      What you may be referring to is that in the last 2 decades there has been decreasing returns in *core clock speeds* due to Silicon having a soft 5 GHz barrier. *You can’t afford the heating bill on CPUs that run at 500+ GHz.* Those are also made with GaAs due to Silicon’s inability to “scale”.
      Intel held the industry back *for a decade* with quad core CPUs. AMD’s Ryzen and Threadripper brought us _”Cores for cheap”_ by giving us 6, 8, 12, 16, 24, 24, 48, 64 cores at affordable prices. Intel dropped the price of its 18-core CPU by a whopping 50% due to Threadripper!
      Even “simple” algorithms can be sped up 2x to 8x by doing more calculations, doing branchless algorithms (trading latency for throughput), using small data tables, or some combination. RAM speed is SO slow compared to CPU speed that many data tables have been made obsolete - but one must measure your algorithm to know where this boundary is.
      Multi threading has become mandatory for scalability of performance. I.e. compression/decompression, CPU rendering, physic’s simulation such as CFD.
      Heterogeneous computing (CPU + GPU) where you try to keep both CPU & GPU workloads balanced to achieve high utilization and performance is a skill set.
      Unreal Engine’s _5 _ showed us software rasterization is not dead and that it can even beat hardware rasterization. Hybrid utilization / hybrid rasterization is a game changer.
      We finally have hardware raytracing where we can use custom data structures for walking a scene.
      Deferred rendering and Physically Based Rendering are the norm for high quality photorealism.
      We have pseudo real-time Global Illumination with multi bounce lighting.
      We have path tracing in pseudo real-time.
      GPUs have 12 GB, 16 GB, 24 GB, or even more VRAM allowing for bigger and bigger datasets to be used.
      Not thrashing the data cache is _extremely_ important for high performance. One can have two algorithms doing the _exact_ work with the only difference being the way they access memory and one can be 8x times SLOWER!
      A LOT of this is niche but there have a TON of changes to the way we approach algorithms, optimizations, you just have to look in the sub-fields of programming.

    • @merlinkater7756
      @merlinkater7756 9 месяцев назад

      @@MichaelPohoreski Wow, well thanks for the long response!
      Honestly i only grasp a small portion of what you just said, but i think i can make up of it that a whole lot has been going on, and i hardly understand the gist of it. Sorry if things fall on deaf ears haha.
      It seems things have in fact improved alot. But like with any field there are many factors that influence the speed of change or progress. No such thing as linear progress! More like a bumpy line, but still upward?

    • @MichaelPohoreski
      @MichaelPohoreski 9 месяцев назад

      @@merlinkater7756 Glad to help. If there is anything you would like clarification feel free to ask!
      Computing is having a bit of "crisis". Moore's Law states that the **number of transistors** doubles roughly every 18 months. There is a direction correlation between transistor count and performance. It is becoming exceedingly more and more difficulty to use smaller and smaller distances for chip design due to "cross talk". Material Science is a whole another domain to study where the standard behavior of electricity starts to break down at these ultra TINY scales. It is WEIRD (in a good way.)
      In the 90's x86 CPUs went "deep" by scaling up a single core GHz performance. That peaked when Silicon couldn't scale past 5 GHz cheaply, so x86 CPU's went "wide": Add more cores and figure out the synchronization issues at both the hardware and software level.
      You may have noticed that for the last decade Thermal Management has played a HUGE part in chip design. i.e. If you have a 8 core cpu running at 5 GHz, the 16-core can only run at ~4 GHz due to all the extra heat the cores generate. If you throttle all the other cores down to 50% power usage you can run a single core at ~5.5 GHz. You may have even seen Overclockers set world records by running a CPU at 9+ GHz using Liquid Nitrogen. They basically have enough cooling to boot the computer up and take a screenshot before they are "out of juice". Thermal management and Power Efficiency drive CPUs these days.
      You may have seen Apple's M1, M2, M3 chips. They are HYPER efficient using 1/4 to 1/2 of the watts that a normal x86 chip needs. If Apple would stop doing anti-consumer bone-headed decisions such as **soldering RAM onto the motherboard** they would be a _really_ nice alternative.
      The funny thing is as fast as computers are they are STILL dog-slow. Once we have room temperature super conductors we are going to start to see REALLY FUN computers.
      Bio-organic computing is another area to keep an eye on. The human body is basically a super-computer and Mother Nature has had Billions of years to research and develop the technology. =P
      Sorry for the brain dump but I thought you would find it interesting to hear how computers have evolved in the last few decades at a high-level.

  • @luigi.0533
    @luigi.0533 9 месяцев назад

    Please make a sandbox game using this tech.

  • @dan.w.2432
    @dan.w.2432 Месяц назад

    What is the ambient music? It's lovely

    • @GrantKot
      @GrantKot  Месяц назад +1

      It's fern by ann annie, available for free via the YT audio library.

  • @luigi.0533
    @luigi.0533 9 месяцев назад

    I love it

  • @Console.Log01
    @Console.Log01 9 месяцев назад

    this is insane.

  • @nicolascage5774
    @nicolascage5774 9 месяцев назад

    Actually 16 times the detail!

  • @janilehto5376
    @janilehto5376 9 месяцев назад

    This is nuts