Painting a Landscape with Maths

688,806
0
Publicado 2022-04-10
Today we are painting a landscape using mathematics.
Support this channel: www.patreon.com/inigoquilez
Buy this painting in a metal, canvas or photographic paper print: www.redbubble.com/shop/ap/39843511

This is the link to the real-time rendering code (that you can edit yourself live) for the painting: www.shadertoy.com/view/4ttSWf

Music by Bent Stamnes (twitter.com/gloom303).

Donate: www.paypal.com/paypalme/SMOOTHSTEPLLC
Subscribe: youtube.com/c/inigoquilez
Support: www.patreon.com/inigoquilez
Twitter: twitter.com/iquilezles
Facebook: www.facebook.com/inigo.quilez

0:00 Intro
0:48 Basic Polynomial Surface (Noise)
4:12 Fractal Surface (FBM)
6:28 Key Lighting
9:15 Atmospheric Coloring
11:00 Composition and Cliffs
12:28 Light Direction
13:53 Sky
15:42 Fill Lighting
17:42 Grass
18:31 Tree Sculpting
23:53 A Story of Painting with Maths professionally
24:52 Tree Lighting and Coloring
29:48 Highlights
32:05 Color Touchups
34:48 Clouds
40:32 Conclusion

Related articles I wrote:
* Fractal Noise Summation, also known as FBM: iquilezles.org/articles/fbm
* Raymarching terrains: iquilezles.org/articles/terrainmarching
* Rendering SDFs: iquilezles.org/articles/raymarchingdf
* Derivatives of Noise: iquilezles.org/articles/morenoise
* SDF of an Ellipsoid: iquilezles.org/articles/ellipsoids
* SDF Gradient: iquilezles.org/articles/normalsSDF
* Soft Shadows: iquilezles.org/articles/rmshadows

Todos los comentarios (21)
  • Great quote at 13:47 "This is your little mathematical world, and you can do anything you want in it." It's like I'm watching Bob Ross, but with functions.
  • @amyshaw893
    Its a small thing, but i really appreciate how you alternate between the old and new views when you change something small, it really helps me see the change you have made, as just showing it once really makes it hard for me to tell the difference sometimes
  • @HyperMario64
    This is a masterclass. And completely deterministic, this could run in real-time. Oh wait, it does!
  • @RobattoJ
    My jaw was on the floor for half of this. I almost can't believe it's possible to render this much detail in real time. You have no idea how inspiring this is!
  • @konstantinkh
    Me: "Bounce light is going to be a nightmare with this terrain." Inigo the Wizard: "Super easy, barely an inconvenience."
  • 40:21 The clouds shifting and the shadows following was absolutely delightful to watch, and made it seem like a time lapse. Great video! :)
  • @kanoest
    This shows the beauty of mathematics that I never knew existed. The concepts and executions are peak maths understanding on high level
  • @g43s
    The quality in this videos is amazing, I love how he uses 3d animations to explain all the equations. it makes it so easy to understand what each thing is doing.
  • @andremeIIo
    I remember bumping into Inigo literal decades ago when first getting into computer graphics. Literally 90% of everything I know in that area comes from his website. He's like the Knuth of CG, reading through his articles feels like perusing a sacred text, equal parts art and math, all of it genius. Very happy to see him here after all those years. Makes me itch to play in ShaderToy.
  • @ankur67678
    I barely know anything about 3d graphics but still watched it till the end....What I liked is the underlying maths, which i understood to the some degree. can't thank you enough for sharing your knowledge...
  • @parsuli.
    As someone aspiring to work at Pixar once I graduate, and as someone who loves math, this video was an absolute gem. It was delightfully composed and the end result was breathtaking. Thank you for making this for all of us to see. I have no doubt it was a lot of work.
  • @greymonwar9906
    This is fantastic, not only paint but created the world with mathematics alone and no real source feed into it. The maths involved is advanced but not too harsh, which is an eye-opener for people to learn math and programming. You are awesome.
  • @konya8248
    Man.. this is impressive it's like he's explaining how people back then are doing it, but with the current beauty of today's engines.
  • @whatfireflies
    Sometimes YouTube's algorithm hits you out of nowhere with an absolute gem of a video. This was amazing! Thank you for your teaching and for making the code available. I will study it and use it as a basis for my own mathematical paintings! In fact, I always loved constructing the functions that I needed out of small, fundamental pieces. If you ever want to do the same thing with sound, Csound is a very old tool to do just that. (But there are probably better tools nowadays?)
  • @davecgriffith
    The art here is actually this video. Fascinating subject and wonderfully presented. Thank you for this!
  • @euphonic3466
    Now I understand why are we made to study these topics in class 11 and 12 in India and what's its application in real life. Also got to know today that this world is literally mathematically built.Thanx to you.This indeed is beautiful to know the details of our universe.
  • Wtf did I stumble across. This shit is amazing. Finally found the answer for why we need maths.
  • @angeltodorov4577
    This is by far one of my favorite math videos. I did not understand all of the math but this was still so interesting. I never knew math could be used for this