I Tried Simulating The Entire Ocean

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Get a free 30 day trial and 20% off an annual plan at
    brilliant.org/... ! #ad
    Games like No Man's Sky, Black Flag, and Sea of Thieves boast some very beautiful water! But, how does it work? Can I do better with current hardware?
    Topics covered include: Fourier series, fourier transform, frequency and time domain, oceanographic spectra, discrete fourier transform, fast fourier transform, approximate subsurface scattering, simulating foam, leveraging multiple frequency bands
    Check out Jump Trajectory's channel!
    / @jumptrajectory
    Support me on Patreon!
    / acerola_t
    Socials:
    Twitter: / acerola_t
    Twitch: / acerola_t
    Discord: / discord
    Code: github.com/Gar...
    References:
    There are way too many references please just go to the code link above and scroll to the bottom of the readme for all my references there
    Music:
    Afternoon Break - Persona 3 OST
    This Mysterious Feeling - Persona 3 OST
    Midori Eyes - Paradise Killer OST
    During The Test - Persona 3 OST
    Junes Theme - Persona 4 OST
    New Game - WORLD OF HORROR OST
    In A Moment's Time - Skullgirls OST
    A New Frontier - VA-11 Hall-A OST
    Climactic Reasoning - Danganronpa 2 OST
    Every Day Is Night - VA-11 Hall-A OST
    Those Who Dwell In The Shadows - VA-11 Hall-A OST
    Empty Ocean - Loop Hero OST
    Joy - Persona 3 OST
    Underground Club - VA-11 Hall-A OST
    Your Love Is A Drug - VA-11 Hall-A OST
    GO!GO!STYLE - Paradise Killer OST
    Like A Dream Come True - Persona 4 OST
    Thanks for watching!
    This video is dedicated to my friend, Alotryx.
    #acerola #graphics #gamedev #unity3d #graphics #shaders

ความคิดเห็น • 1.4K

  • @Acerola_t
    @Acerola_t  ปีที่แล้ว +301

    Get a free 30 day trial and 20% off an annual plan at brilliant.org/acerola #ad
    The Unity Awards nomination voting is live! It'd make me super happy if you submitted my name (if you think I am deserving).
    unity.com/awards?

    • @djjudd566
      @djjudd566 ปีที่แล้ว +1

      Wooo! My boy Acerola got. that. sponsorship. Lets gooooooo

    • @PlanetComputer
      @PlanetComputer ปีที่แล้ว

      thanks, employed "_t" Acerola, you brilliant goblin

    • @NotGabe001
      @NotGabe001 ปีที่แล้ว

      is that the real Dan Salvato at 25:02?

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว +5

      @@NotGabe001 yeah we are moots on twt

    • @Gabriel38196
      @Gabriel38196 ปีที่แล้ว +1

      @@Acerola_t done, thanks for the tutorial, I'll try to implement this myself!

  • @eefflie
    @eefflie ปีที่แล้ว +7302

    99% of graphics programmers quit right before a 0.001% increase in performance

    • @nightlight0x07cc
      @nightlight0x07cc ปีที่แล้ว +123

      LOL

    • @NILLANEAB
      @NILLANEAB ปีที่แล้ว +175

      literally me except I quit when I get an opengl error before starting

    • @ryuined
      @ryuined ปีที่แล้ว +11

      release quote

    • @stevenshea990
      @stevenshea990 ปีที่แล้ว +49

      @@NILLANEAB Or with vulkan/dx12, when you get a fatal memory error before you've even initialized the gpu device object.

    • @codeninja1832
      @codeninja1832 11 หลายเดือนก่อน +16

      I use the same logic for gambling.

  • @johnny_hammer
    @johnny_hammer 8 หลายเดือนก่อน

    next challenge. have the water sync with the weather. The Beaufort Scale is a good reference for windspeed - wave height. waves can be 70+ feet high, and there can also be zero waves. once you have successfully incorporated weather....and the moon, then you will have simulated the ocean.

  • @xentarch
    @xentarch 6 หลายเดือนก่อน

    As a physics major, I am simultaneously triggered and amused about you saying "Richard Faynmen" while displaying an image of Jack Quaid.

  • @iiPrr
    @iiPrr 11 หลายเดือนก่อน

    Putting a cat video on the ad is an amazing idea first ad i haven t skipped in a while

  • @gamingshowerthoughts9723
    @gamingshowerthoughts9723 ปีที่แล้ว +4

    I'm really curious how good the new built-in water system is in Unity HDRP. It seems to do ....most of what you showed.

  • @ielaypogi
    @ielaypogi หลายเดือนก่อน

    21:06
    Dani:WHAT DID YOU SAY ABOUT UNITYS PARTICLE SYSTEMS?

  • @dangerousthoughts.1591
    @dangerousthoughts.1591 หลายเดือนก่อน

    Bro could be figuring this all out for a major game studio, or could be developing all this and patenting his coding or whatever this is. But instead he lays it all out on the table for all of us to watch and try to understand😂

  • @mufurr
    @mufurr 5 หลายเดือนก่อน

    Fun fact the fast fourrier transform could have prevented the cold war altogether if we knew about it sooner

  • @LukeFrisken
    @LukeFrisken ปีที่แล้ว

    I'm not sure how to articulate it, but I wonder if it's possible to sample the wave function in screen space? Only generate wave geometry for the portion of the ocean that is visible using the tessellation shader, and sampling the wave function for all of it instead of repeating textures?

  • @SA80TAGE
    @SA80TAGE 8 หลายเดือนก่อน

    simulating air/flight physics next XD

  • @hannahfbr
    @hannahfbr ปีที่แล้ว

    i got about 11 minutes in while listening intently before realising i'm almost completely lost

  • @EzioAuditoredaFirenze
    @EzioAuditoredaFirenze ปีที่แล้ว

    Get this man a Nobel Prize

  • @ramonoliveira1036
    @ramonoliveira1036 ปีที่แล้ว

    What happened to your trailer/mobile home? You're just standing in the dark depths of mathematics now.

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว

      I moved into my own place and also my parents sold it lol

  • @ThePaperBagDude
    @ThePaperBagDude 2 หลายเดือนก่อน

    I like your funny words magic man

  • @charles0423
    @charles0423 2 หลายเดือนก่อน

    Yall think there is gonna be real time ocean simulation in subnautica 3?

  • @jimmoydapatat6928
    @jimmoydapatat6928 ปีที่แล้ว

    thanks for the cat vid

  • @Der_Yoloist
    @Der_Yoloist ปีที่แล้ว

    I liked the video so far except the 1 billion unnecesary memes lol

  • @bleblo13
    @bleblo13 ปีที่แล้ว

    6:32 maybe I am wrong here but shouldn't you get a delta peak instead of height one? Or did you normalise for the volume?

  • @overloader7900
    @overloader7900 ปีที่แล้ว

    Penrose tilings ftw

  • @anonelusive340
    @anonelusive340 ปีที่แล้ว +2094

    It’s kind of ironic how Fourier actually invented his famous formula to predict when/how the tides of the ocean would occur and now in recent times people rediscovered that it could be used to simulate the very same thing it was meant to describe all along
    Edit: What I meant to say was that one of the very first uses of the Fourier Series was to predict tidal motion (Sir Kelvin was the one who actually did the thing alongside the mechanical integrator! It's a very cool story too! )

    • @BenGroebe
      @BenGroebe ปีที่แล้ว +175

      My understanding is that Fourier created the method for solving the differential equations involved in modelling heat diffusion in metal plates? I don't think this is correct :/
      Citation: Mémoire sur la propagation de la chaleur dans les corps solides (1807)

    • @_zedsdead_
      @_zedsdead_ ปีที่แล้ว +79

      I think it was Kelvin that used the formula to predict waves

    • @jimsmith3715
      @jimsmith3715 ปีที่แล้ว +3

      Well of course it could that's just basic correlation isn't it? Many mathematical formulas can work the same

    • @stevenshea990
      @stevenshea990 ปีที่แล้ว +51

      @@_zedsdead_ Yes, Fourier invented the Fourier series to develop an equation for how heat diffuses through a metal plate, then for a general heat equation.

    • @LouSaydus
      @LouSaydus 11 หลายเดือนก่อน +10

      The Fourier transform is pretty ubiquitous in any situation dealing with waves, and a LOT of things can be broken down by describing them as waves.

  • @otheusma
    @otheusma ปีที่แล้ว +4209

    I don't understand 95% of the things you say but I always find it fascinating.

    • @Brunoenribeiro
      @Brunoenribeiro ปีที่แล้ว +80

      Chilling with Persona songs and hard math

    • @spookbag24
      @spookbag24 ปีที่แล้ว +98

      i like your funny words magic man

    • @ThePandaAgenda
      @ThePandaAgenda ปีที่แล้ว +19

      I understand maybe 75% of what he’s saying and I am still amazed by this guy’s creativity

    • @DemoniteBL
      @DemoniteBL ปีที่แล้ว +45

      I don't really care about any of this, my monkey brain just clicks on random videos.

    • @ThePandaAgenda
      @ThePandaAgenda ปีที่แล้ว +13

      @@DemoniteBL vibe

  • @CentaurionArcher
    @CentaurionArcher ปีที่แล้ว +302

    FFT really is like magic. I spent like two months understanding it a few years ago and now I've completely forgotten

    • @jobliar937
      @jobliar937 2 หลายเดือนก่อน

      Fr same as an electric engineering student

  • @jarred7721
    @jarred7721 ปีที่แล้ว +1559

    I've gotta hand it to you. You have some of the best shader content anywhere on the internet. It's digestible, entertaining, and informative.

    • @stevenmathews7621
      @stevenmathews7621 ปีที่แล้ว +46

      not to mention his aesthetic
      absolutely love his video style

    • @uninable
      @uninable ปีที่แล้ว +1

      @@stevenmathews7621_Black Scene_

    • @Kwauhn.
      @Kwauhn. ปีที่แล้ว +13

      Right!? I wish I had this when I was first getting into computer graphics in highschool.

    • @vjcodec
      @vjcodec ปีที่แล้ว +5

      The meme way of learning!

    • @piercebunge4297
      @piercebunge4297 2 หลายเดือนก่อน +1

      oh yes, digestible

  • @mu4784
    @mu4784 ปีที่แล้ว +128

    Honestly, 2 things I very recently learned upon doing 3D are just how weak computers are compared to what I had in my mind (which was at the level of "just generate noise in real time and it will take 0.1% of CPU kek") and at the same time just how insanely optimized any game is and how many smart solutions have to be built in order to get gorgeous visuals while maintaining performance!

    • @prismalglue
      @prismalglue ปีที่แล้ว +1

      we need organic computers NOW! xD

    • @yaman.
      @yaman. 11 หลายเดือนก่อน

      donate your brains@@prismalglue

    • @NCSiebertdesign
      @NCSiebertdesign หลายเดือนก่อน

      At the same time, computer game graphics had become realistic and lifelike drastically in the short time frame since the dawn of PC gaming. Only shortfall for most games are mostly physic like realistic object collision and voxel that makes objects "solid" since many game objects are just textured empty "box" or shell if that make sense? And lastly the AI or bots logic like npc that doesn't relied on developer's influences which has a long way to come yet imo.

  • @charactername263
    @charactername263 ปีที่แล้ว +576

    You can apply almost the same FFT for waves for grass blowing in the wind without obvious tiling.

  • @PokiniGames
    @PokiniGames ปีที่แล้ว +201

    I can not thank you enough for your contributions to the Unity shader coding scene. I have been wanting to add more water/flooded areas to my game, but have been avoiding it due to the performance impact/obvious tiling issues that existing water simulations on the marketplace have.

  • @filiformis
    @filiformis ปีที่แล้ว +342

    I can't imagine how validating it must be to have your opinion backed by the Oceanographic Literature.

  • @TheBcoolGuy
    @TheBcoolGuy หลายเดือนก่อน +208

    0:01 sorry i pe 2 much 😊

    • @Shabaz430
      @Shabaz430 หลายเดือนก่อน +24

      2 much lemanades

    • @TheBcoolGuy
      @TheBcoolGuy หลายเดือนก่อน +14

      @@Shabaz430 im drinkes 2 mush pee

    • @spudato961
      @spudato961 หลายเดือนก่อน +13

      possibly the best comment ever made

    • @foxxxx-
      @foxxxx- หลายเดือนก่อน

      are you fkn 12?

    • @Miftahul_786
      @Miftahul_786 หลายเดือนก่อน +9

      this comment is so stupidly funny

  • @jbritain
    @jbritain ปีที่แล้ว +959

    using Jack Quaid as the onscreen representation for Richard Feynman made me laugh harder than it had any right to

    • @paninisauce6949
      @paninisauce6949 ปีที่แล้ว +33

      I know who neither of these people are 👍💯‼️💯

    • @jbritain
      @jbritain ปีที่แล้ว +100

      @@paninisauce6949 Richard Feynman was a physicist. Jack Quaid played him in Oppenheimer (albeit briefly) but is more known for playing Hughie in The Boys

    • @purple-flowers
      @purple-flowers ปีที่แล้ว +25

      @@jbritain Richard Feynman was such a guy. I'd recommend reading his memoir where he details breaking into classified desks at Los Alamos and leaving silly notes for fun, being obsessed with the bongos, and much more.

    • @jbritain
      @jbritain ปีที่แล้ว +3

      @@purple-flowers my physics teacher used to tell us stories about some of the funnier stuff he did, will look into that

    • @XxyGoddam
      @XxyGoddam ปีที่แล้ว +1

      came to say the same. I laughed way too much from it :D

  • @fablearchitect7645
    @fablearchitect7645 ปีที่แล้ว +97

    I think you should continue to use your 1660 to benchmark your projects to prevent the rebound effect on optimization caused by newer and faster hardware

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว +37

      when i get a new pc yeah i'll keep the 1660 around hopefully

  • @TechJolt3d
    @TechJolt3d ปีที่แล้ว +192

    17:15 This image and the line "in truth, this is because our lighting model forgot how light works" Is making me laugh a lot

  • @jacobcowan3599
    @jacobcowan3599 ปีที่แล้ว +76

    Another banger from the funniest technical artist on TH-cam. You do such a great job telling a story and providing dense info in a super digestible manner.
    I am so ready for that principled BRDF video!

  • @ceilidhDwy
    @ceilidhDwy ปีที่แล้ว +195

    Excellent video as always!
    It looks so impressive in the end and honestly working with enterprise software (that takes 45 second to load a single page of 20 customer requests) I tend to forget that computers can do this kind of magic! Your videos kinda make me motivated towards programming
    On another note, that transition to sponsor is very good

    • @bondthefifth
      @bondthefifth ปีที่แล้ว +17

      Working in backend did that to you, but also I think acerola said in his pixel sorting algorithm video that a CPU, which you and I used everyday in enterprise software is Smarter Slower, but a GPU which he uses in the shader program is Stupid Faster (and yet it can still do a mind blowing approximation of an entire ocean waves in real time)

    • @yan-amar
      @yan-amar ปีที่แล้ว +19

      And then you have entreprise software which is Stupid Slower.
      Really, running on the CPU is no excuse for modern software being slow.

    • @kylebelle246
      @kylebelle246 ปีที่แล้ว +1

      ​​@@yan-amarits probably due partly to network requests, which realistically is not something that can be solved. Many times even the server you make network requests to have to make other network/api request. But yes some software is just terrible as well

    • @mauriciosmit1232
      @mauriciosmit1232 ปีที่แล้ว

      Especially since on a higher-range laptop's CPU, you can run a rough equivalent of a local ChatGPT now, and still have resources for other stuff. It's crazy what our chips are capable of when programs are optimized for them.

  • @Meoiswa
    @Meoiswa ปีที่แล้ว +210

    It would be cool to have this as a live wallpaper, with the wave parameters slowly changing over time (or perhaps using weather data?) so the ocean looks somewhat different every time you get to see it.

    • @TheShinyZoroark_
      @TheShinyZoroark_ ปีที่แล้ว +29

      Nice wallpaper engine idea

    • @YdenPL
      @YdenPL 11 หลายเดือนก่อน +29

      That's absolutely doable, if I ever get around to installing Unity, maybe I could modify the project to pull weather data and package it up into a Wallpaper Engine wallpaper.

    • @DeletedDevilDeletedAngel
      @DeletedDevilDeletedAngel 4 หลายเดือนก่อน +2

      @@YdenPL is it done?

    • @fhudufin
      @fhudufin 2 หลายเดือนก่อน +1

      @@YdenPL is it done?

    • @40watt53
      @40watt53 2 หลายเดือนก่อน

      @@YdenPL is it done?

  • @eeee69
    @eeee69 ปีที่แล้ว +121

    i just finished a class on numerical methods a few days ago and already i am getting flashbacks
    also the way you "removed" tiling at the end was really impressive

    • @stanleyyyyyyyyyyy
      @stanleyyyyyyyyyyy ปีที่แล้ว +1

      it was quite clear what needed to be done to everyone who understood the topic.

    • @Good_Hot_Chocolate
      @Good_Hot_Chocolate 8 หลายเดือนก่อน +18

      ​@@stanleyyyyyyyyyyyGet off your high horse. There's no reason to put down other people's understanding, especially when the one in question was still learning.

    • @bellenesatan
      @bellenesatan 2 หลายเดือนก่อน

      ​@@stanleyyyyyyyyyyy no processor can efficiently calculate the size of the stick up your ass

  • @NoHope-WhatSoEver
    @NoHope-WhatSoEver หลายเดือนก่อน +5

    Now do fire.

  • @BeatCrazey
    @BeatCrazey ปีที่แล้ว +37

    This video (and the previous) COMPLETELY sold me on Fourier Transforms and FFT. I'm going to Uni so I hope I'll have the opportunity to learn more about them (and maybe make an ocean a quarter as good as yours)

  • @giga-ratsey1420
    @giga-ratsey1420 2 หลายเดือนก่อน +9

    2:30
    You can’t just say, “a normal person” and then show jerma, arguably the least normal person

    • @SuperMario-64
      @SuperMario-64 หลายเดือนก่อน

      was about to post this same thing.

  • @lbgstzockt8493
    @lbgstzockt8493 ปีที่แล้ว +59

    Your videos became a lot easier to understand after going to college for a few semesters.

  • @filoteo
    @filoteo ปีที่แล้ว +19

    It’s so cool seeing these otherwise abstract tools of vector calculus and differential equations I’ve learned about or heard about throughout college in such a creative and artistic context. Never stop!

  • @E-dart
    @E-dart ปีที่แล้ว +53

    Babe wake up, acerola released a new video

    • @torfley
      @torfley ปีที่แล้ว

      I was looking if someone already said this, but I wasn't expecting it within *3 minutes* you're insane (in a good way)

    • @Soundy777
      @Soundy777 ปีที่แล้ว

      This got me good

    • @bastian3461
      @bastian3461 ปีที่แล้ว

      that was fast

    • @redblue5140
      @redblue5140 2 หลายเดือนก่อน +1

      why is bros name areola

  • @polic72andDrD3ath
    @polic72andDrD3ath ปีที่แล้ว +13

    this is the hardest my minor in applied math has ever had to work, and I'm not even trying to implement it myself yet...at least I actually recognized 90% of the terms you said without having to look them up! amazing video!

  • @kojumble
    @kojumble ปีที่แล้ว +29

    i think this counts as the best follow up video of all time

  • @JamEngulfer
    @JamEngulfer ปีที่แล้ว +19

    This is amazing! Reducing tiling by throwing more FFTs at it was really interesting as well. I’m now thinking about what could be done to further improve the sea foam, because the solution was (relatively) simple, so I think there’s room for some neat additions.
    Maybe a vertical offset of some kind to give it the impression of having volume and adjusting the rate at which it appears and fades to make it a bit more ‘sticky’?

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว +5

      Probably experimenting with different decay functions would be the easiest way. I didn't really spend much time innovating the foam cause it's kinda tacked on. It is the same method that every game uses as far as I'm aware, the biggest difference between mine and others is that since I don't use a texture for the foam appearance I don't blur the accumulated foam tex in order to keep it noisy and pseudo detailed to prevent it from obviously being a flat color.

    • @miles6910
      @miles6910 ปีที่แล้ว +2

      @@Acerola_t seems like you'd want to adjust the material properties for the foam as well. do you apply the compliment of the fresnel to your scattered light component of your surface material? i think that is warranted, but maybe it's all bs enough to not matter.

  • @IstyManame
    @IstyManame ปีที่แล้ว +11

    Your vids are genuinely great for falling asleep

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว +14

      only a little insulting!

    • @cantbepixil
      @cantbepixil หลายเดือนก่อน +1

      @@Acerola_t ill be honest im using it to fall asleep rn but it seems interesting enough that i might rewatch it after i wake up and pay attention

  • @thespycrab8305
    @thespycrab8305 ปีที่แล้ว +14

    I love how all the math I learned in my Physics studies shows up in unexpected places like real time rendering. Never thought I'd hear about the Jacobian outisde of my simulations and modeling course.

  • @jeb123
    @jeb123 ปีที่แล้ว +16

    FFT's are still continues to amaze me, seriously. Our life would be very different without them. Also your channel amazes me too! Your use of math with Unity is insane. There are few questions i want to ask, how did you learn all of this? At school or all by yourself? If at school what was your major?

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว +11

      I have a bachelors in computer science but I taught myself most of this stuff

    • @jeb123
      @jeb123 ปีที่แล้ว +2

      @@Acerola_t Thanks for the reply! Your channel is really amazing, so much to learn.

  • @bankableconcept
    @bankableconcept 9 หลายเดือนก่อน +3

    All I want is a nice ocean to render in the background of a scene, but I failed algebra 😢

  • @ChaonicMew
    @ChaonicMew ปีที่แล้ว +16

    Thank you for being a technical artist to all of us!
    What you're doing will enable the rest of us to make MUCH better games!

  • @onechippyboi
    @onechippyboi ปีที่แล้ว +13

    You're by far the most entertaining resource on how complex shaders and simulations work but you still maintain a very professional quality in results. There are others who make the same kind of content but you have knowledge and skills on par with AAA devs when it comes to what you do.

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว +7

      To be fair it's cause I was a AAA dev

    • @onechippyboi
      @onechippyboi ปีที่แล้ว +4

      @@Acerola_t I know, I just wanted to say that you're giving people free education on things that take years of school and industry experience. It's a real talent to make graphics optimization and math as entertaining as you do. 👍

  • @xeuxixiliak8417
    @xeuxixiliak8417 ปีที่แล้ว +21

    Okay, the notification Acerola: Simulating the Entire Ocean
    definitely looked to me at a glance like 'Stimulating the entire Areola'

  • @KillianTwew
    @KillianTwew ปีที่แล้ว +2

    2:39 Your definition of a normal person is Jerma???

  • @LighthoofDryden
    @LighthoofDryden ปีที่แล้ว +10

    It’s been like ten years since I first heard about Fourier Transforms and because of you I finally know what they are ❤

  • @Ataraxia0
    @Ataraxia0 ปีที่แล้ว +9

    its insane how much better it looks while also improving the performance
    as a music producer its really interesting to me how working in the frequency domain is so much better than the time domain as when working with music you have to sample the waveform in time before you can start working in frequency, so i would have initially assumed the exact opposite. thinking about it now though, it definitely makes sense why its so powerful since any conceivable wave can be represented by a set of frequencies and phases
    i'd love to see more like this, its really interesting to see how waves can be used in graphics and not just audio

  • @Gokanaru
    @Gokanaru ปีที่แล้ว +4

    WOW this is beautiful.

  • @omarhamza1492
    @omarhamza1492 2 หลายเดือนก่อน +4

    someone once said, "If you want to simulate every particle in the ocean, you must have a computer the size of the ocean."

  • @thelegalsystem
    @thelegalsystem ปีที่แล้ว +6

    Black Flag had the first ocean in a videogame that felt believeable to me

  • @PatrikBergsten
    @PatrikBergsten ปีที่แล้ว +3

    25:08 I feel personally attacked by ”I have had like one hundred tabs open this whole month for this project alone”. Can relate.

  • @gehtsiegarnixan
    @gehtsiegarnixan ปีที่แล้ว +6

    Very impressive and fascinating. And it explaines why oceans in movies and games always look so fundamentally wrong. I have been sailing for my entire life and leanred how to read waves. True waves are curved from above too and have directional waves in different regions all of which you can see from pretty far away to the smallest detail.

  • @NunSuperior
    @NunSuperior ปีที่แล้ว +4

    Warning : Adult Mathematics
    (That's some tasty water right there)

  • @JustinDuijn
    @JustinDuijn ปีที่แล้ว +2

    @0:33 I’m having a stroke

  • @Crovea
    @Crovea ปีที่แล้ว +5

    Great video Rōra Hime
    if you could do river water flow shader stuff in the future that would be epic!
    and maybe even how to have it flow seamlessly into oceans

  • @PuppyGamerYT
    @PuppyGamerYT ปีที่แล้ว +6

    Amazing video acerola! Every video I watch makes me want to learn more about shader programming!

  • @NinjaTylerBlevins
    @NinjaTylerBlevins หลายเดือนก่อน +10

    Seen a comment that said “ 0:01 sorry I pe too much” bro what 💀

  • @SpottedEgg
    @SpottedEgg ปีที่แล้ว +7

    I appreciate the effort you put into your videos Acerola

  • @KlericYT
    @KlericYT ปีที่แล้ว

    Damn you for putting a cat on the side during your ad read, literally forcing me to not skip it.
    (╯°□°)╯︵ ┻━┻

  • @torikenyon
    @torikenyon ปีที่แล้ว +4

    so much of this happens to line up with what i'm learning in my digital audio theory class

  • @nynx8269
    @nynx8269 ปีที่แล้ว +4

    Yes another acerola video

  • @brownshoes5225
    @brownshoes5225 10 หลายเดือนก่อน +2

    The Va-11 Hall-A music in the background was a nice touch.

  • @redgek
    @redgek ปีที่แล้ว +4

    putting a cat video to the side of an ad is genius

  • @TheRubiksrocks
    @TheRubiksrocks ปีที่แล้ว +2

    2 WEEKS?!? This shit would take me like 2 years to fucking read, understand, and implement. Wow. Amazing work. Subscription added!

  • @ricardo.mazeto
    @ricardo.mazeto ปีที่แล้ว +8

    24:12, you could dig a little deeper on the frequencies used here. If you use prime numbers for frequencies, they will tile on a much larger square, because prime numbers have the biggest LCM (Least Common Multiple). I use this trick for procedurally generate huge tiling textures from tiny samples.

    • @Acerola_t
      @Acerola_t  ปีที่แล้ว +3

      the tiling is actually gated by the resolution of the textures, since all of this is being precomputed into textures that the ocean mesh then samples.
      If GPUs are ever fast enough to calculate the fft per vertex, then yeah this would be applicable knowledge, but we'll probably die first.

    • @ricardo.mazeto
      @ricardo.mazeto ปีที่แล้ว +4

      @@Acerola_t No, you got it wrong. There's no need for FFT. If you sample the textures, such that for each vertex v, for each texture t, the height of the vertex, or color of the pixel, is equal to the sum of t_i mod t_i_len, the size of the "tiles" is equal to LCM(t_1, ..., t_n). If the sizes of the textures are prime number length, which is the optimal length for this technique, you can get huge tiles with tiny textures. It's a well known technique.

  • @PoweredDown
    @PoweredDown หลายเดือนก่อน +1

    If rockstar games don’t perfect the ocean then imagine how lame gta6 would be forreal. Florida = WATER

  • @coolbrotherf127
    @coolbrotherf127 ปีที่แล้ว +1

    I'm playing through Danganronpa 2 again and in the middle of the video I just started hearing music from the game. Definitely wasn't expecting that but it is a great song. In the credits though you write it as Climatic Reasoning when the title is actually Climax Reasoning.

  • @thehugemoby1780
    @thehugemoby1780 9 หลายเดือนก่อน +1

    it's so odd being an audio producer while watching this because i understand almost all of the terms being used in this video but i know none of the math behind all of these terms as i just instinctively know what each term means because of what it does to sounds in real life and in a daw. everything i see makes sense to me but also just doesn't and it hurts my brain lmao. also i have seen both the "time domain" and "frequency domain" graphs before as one is a spectrogram and the other is the visual aspect of an EQ. like i said everything here i have seen before except the math... now i'm thinking i should learn the math so i can have an even better understanding of what everything in my daw does...

  • @hackercat2
    @hackercat2 ปีที่แล้ว +1

    When you initially introduced Fourier transforms, you compared it to DnD, which ironically i know less about lmao

  • @thatguyonyoutube6632
    @thatguyonyoutube6632 ปีที่แล้ว +1

    i haven't watched the video completely yet, but you caould look into single tile tessalation. It was recently proved that you can, using only one tile, create a non-recurring surface.

  • @greenberrygk
    @greenberrygk 2 หลายเดือนก่อน +1

    Erm actually when I think of the best looking water I think of subnautica.

  • @Tettzz
    @Tettzz 2 หลายเดือนก่อน +2

    I like the monogatari type of intro

  • @KoshakiDev
    @KoshakiDev ปีที่แล้ว +1

    I just love your humor
    Can't have your cake and eat it too? Just bake more cakes of course!
    Keep it up Acerola

  • @__Obscure__
    @__Obscure__ ปีที่แล้ว +1

    Richard Feynman is pronounced FINE-man, not FAYN-man. Also, you included a picture of Jack Quaid, not Richard Feynman.

  • @asd_
    @asd_ ปีที่แล้ว +1

    i am ngl i love your videos, but this is probably the first time i have almost no idea what is going on. i think i'll have to watch this video when i'm more knowledgeable in math.

  • @ufalsalman
    @ufalsalman 9 หลายเดือนก่อน +2

    I love you mentioned Euler's formula, because you also took the reference from Monogatari Series as your brand and Euler was mentioned in Zoku Owarimonogatari too. Cool video btw, I like it (despite I studied in food technology field lmao)

  • @weksauce
    @weksauce 10 หลายเดือนก่อน +1

    Allegory of the Cave and $14.32 at a 5-star restaurant but you get $1 more every two years.

  • @simonpodliska1072
    @simonpodliska1072 ปีที่แล้ว +2

    Tell them to simulate the whole ocean!
    Tell them to simulate the whole ocean!
    Tell them to simulate the whole ocean!

  • @Atmos_Glitch
    @Atmos_Glitch 8 หลายเดือนก่อน +1

    24:33 I won't fall for your gaslighting treachery!!!

  • @stargazersdance
    @stargazersdance ปีที่แล้ว +2

    Idk when I discovered your channel but I've been watching for a pretty decent time.
    I think what got me hooked at first was the Persona 2 music in one of your videos. Then the Monogatari styled editing pulled me in even further. What sealed the deal was the topics you talked about. Hope you keep it up, Acerola. Frfr

  • @Captain.Mystic
    @Captain.Mystic ปีที่แล้ว +1

    3:23 This is actually called disintegrate in dnd 5e and its a level 6 spell. but go on.

  • @dotails
    @dotails ปีที่แล้ว +1

    Ready for a greater challenge?
    Take a Fourier transform of a heightmap and then recreate the style as a procedurally generated infinite map. Imagine an infinite BOTW map that has the signature of the original.

  • @Otakutaru
    @Otakutaru ปีที่แล้ว +2

    ☝🤓ACTUALLY... You can only recompose waves that are infinite and periodic, because that's one of the premises of the Fourier transform, with many implications. One of them is that at any point in the wave all frecuencies must have the same presence, so a reconstructed piano key would sound ghostly and monotonous, without punchy transients or fading out over time.

  • @tortellinifettuccine
    @tortellinifettuccine ปีที่แล้ว +1

    Watchdogs will forever have the best water render I have ever seen in my life. Not really related just needed to say it lmao

  • @-ColorMehJewish-
    @-ColorMehJewish- 9 หลายเดือนก่อน +1

    I like the title "I Tried Simulating The Entire Ocean" much more than "Here's How Much Smarter I Am Than You" 😆
    Nah.. all joking aside, this is quite amazing.
    You did an amazing job w/ tackling this material, and even explaining it all in an easy-to-understand manner.

  • @Voxxan
    @Voxxan หลายเดือนก่อน +1

    Uhh, my first thought was "hey that water looks like the gta5 water!

  • @blanana_m
    @blanana_m ปีที่แล้ว +1

    Today I saw a function that had a jump in math class which made me think of you
    I dunno why that happened
    Simmulate piss

  • @Nick-jf7ku
    @Nick-jf7ku ปีที่แล้ว +1

    How can you say sea of thieves water is the best looking it's a bloody cartoon effect and looks like a SOLID MASS with NO volume no depth with transparency 100% no reflecting . I Dont really see the point of watching the rest of the video if these are your 3D standards Well below the bar mate. video ends 0:13

  • @cakemanzero
    @cakemanzero 8 หลายเดือนก่อน +2

    1:13 SLIME!

  • @RaimarLunardi
    @RaimarLunardi ปีที่แล้ว +1

    I LOL'd at "Mr Rola"...
    In Brazil it's another name for dick...

  • @willbgm5x5
    @willbgm5x5 หลายเดือนก่อน +2

    Minecraft 🗿

  • @unyu-cyberstorm64
    @unyu-cyberstorm64 9 หลายเดือนก่อน +2

    Just Cause 3 uses Nvidia Waveworks for its ocean simulation, and it looks *really* good.

    • @Acerola_t
      @Acerola_t  9 หลายเดือนก่อน +3

      yeah my simulation works the exact same way

    • @unyu-cyberstorm64
      @unyu-cyberstorm64 9 หลายเดือนก่อน +2

      @@Acerola_tyeah, doesn’t waveworks do buoyancy too?