Writing a basic raytracer

Поделиться
HTML-код
  • Опубликовано: 19 июл 2011
  • LIVE coding a simple raytracer, without error messaging...
    Support this channel: / inigoquilez
    Tutorials on maths , art and computer graphics: iquilezles.org
    Donate: www.paypal.com/paypalme/SMOOT...
    Subscribe: / inigoquilez
    Support: / inigoquilez
    Twitter: / iquilezles
    Facebook: / inigo.quilez
    Music by Terminal Sound System

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

  • @0megaSapphire
    @0megaSapphire Год назад +3

    I wish you did more of these. That was really enjoyable to watch. Nice atmosphere.

  • @earx23
    @earx23 12 лет назад +9

    nice editor. i wish my lines had a heartbeat

  • @nickfla1
    @nickfla1 10 лет назад +6

    this is so freaking awesome!

  • @spider853
    @spider853 12 лет назад +2

    Thanks for the tutorial!

  • @Eghhhh
    @Eghhhh 13 лет назад +4

    What editor is this? This is great!

  • @Igor_Zdrowowicz
    @Igor_Zdrowowicz 5 лет назад +4

    Immersive. Reminds me of damoscene.

  • @sthaqu
    @sthaqu 13 лет назад

    awesome!

  • @earx23
    @earx23 12 лет назад +1

    nice editor. i wish my lines had a heartbeat. this somekind of shader language or whatnot? it looks ideal for experimentation!

  • @antoinefortin1386
    @antoinefortin1386 4 года назад

    Beautiful

  • @aleksstork
    @aleksstork 6 лет назад

    good job

  • @unveil7762
    @unveil7762 2 года назад

    Nice code editor ... did you code it yourself?

  • @MrOMGWTFxCorp
    @MrOMGWTFxCorp 11 лет назад

    Em, the music in the video is added in post processing?

  • @Eltaurus
    @Eltaurus 2 года назад +1

    Just recently I saw someone saying in a video that you shouldn't multiply direct light component by the ambient occlusion, because it doesn't make sense)

  • @slitor
    @slitor 12 лет назад +3

    OH GOD! GLSL CODING ON RUclips!

  • @MenkoDany
    @MenkoDany 13 лет назад

    what's the music and editor?

  • @tehprogramerer
    @tehprogramerer 13 лет назад +1

    Going back to my CUDA ray tracer...

  • @quepex6798
    @quepex6798 5 лет назад

    lo q suena a partir del min 13 me ha recordado a night bus d burial. un saludo iñigo

  • @user-tn9gd2sv4t
    @user-tn9gd2sv4t 11 месяцев назад

    Также можно упростить уравнение сферы: t = -b +- sqrt(delta), где b = dot(oc, rd) и delta = b^2-c

  • @AtmosMr
    @AtmosMr 2 года назад

    Wow!

  • @sruthisrinivasan3622
    @sruthisrinivasan3622 2 года назад +1

    does it work in visual studio code?

  • @MenkoDany
    @MenkoDany 13 лет назад

    looks like custom cegui based editor, can share? :)

  • @cornedor93
    @cornedor93 13 лет назад

    Yeah i also want to know about the editor.

  • @99Davidcool
    @99Davidcool Год назад +1

    Better with sdf

  • @solomonchild5
    @solomonchild5 2 года назад +1

    On 5:09 I'm assuming =1, since rd is normalized, hence only r^2 as a second term. Is that correct?

  • @MrOMGWTFxCorp
    @MrOMGWTFxCorp 12 лет назад +1

    It's glsl sandbox.. it's avaliable online.

    • @ehsansayyad
      @ehsansayyad 6 лет назад

      nope it's not he wrote the editor himself
      but people can use glsl sandbox it's cool.

  • @akshayborse4329
    @akshayborse4329 6 лет назад

    This is shader code, right? Written in separate shader file, not in our cpp file? How do I run this

    • @stephaneduhamel7706
      @stephaneduhamel7706 6 лет назад

      I'lll assume you know openGL:
      Make a scene with two triangles filling up the screen, and use a shader program as a texture for these triangles
      the (the pixel shader is what iq's writing)
      you also need to create the uniforms of course.

  • @VitisCZ
    @VitisCZ 10 лет назад +8

    what is the name of this editor?

    • @anastasiadunbar5246
      @anastasiadunbar5246 9 лет назад +5

      VitisCZ I think he made the code editor by himself.

    • @InigoQuilez
      @InigoQuilez  5 лет назад +7

      @kay Not really, I wrote my own editor quickly for this video and a few shows. I believe this was the first editor for live coding and performances that I know of. That other one was probably done after mine.

  • @gxhoi
    @gxhoi 7 лет назад +2

    is means dot product?

  • @egonelbre
    @egonelbre 11 лет назад +1

    Nope, it's some other environment... glsl-sandbox doesn't have audio integration.

  • @miz3567
    @miz3567 3 года назад

    cool

  • @NateZephyr
    @NateZephyr 3 года назад

    wow dude so hackerman colors

  • @rexguo
    @rexguo 13 лет назад

    Nice trick with the fake shadow :-)

  • @jnuria
    @jnuria 13 лет назад

    Iñigo eres la poya en vinagre!

  • @SekitendeJulius
    @SekitendeJulius 2 года назад

    Walk away! The comment section if infested with fellow nerds.

  • @movAX13h
    @movAX13h 11 лет назад

    lol

  • @lukasjetu9776
    @lukasjetu9776 2 года назад

    heh i broke the 666 likes

  • @JustSomeAussie1
    @JustSomeAussie1 5 лет назад +8

    Jesus Christ, the horrible shrinking and growing/flashing of the text + the horrible music is nauseating

    • @InigoQuilez
      @InigoQuilez  5 лет назад +8

      nah, don't agree, it looked pretty cool in a club setup

    • @proxy1035
      @proxy1035 5 лет назад +1

      @@InigoQuilez i and a lot of other people would probably get eye cancer looking at that for more than an hour.
      the dark colors are alright but just not the pulsing and fading of the text at the top and bottom

    • @Igor_Zdrowowicz
      @Igor_Zdrowowicz 5 лет назад +5

      lol i have completely opposite feeling. It is so immersive.

    • @limace
      @limace 5 лет назад +3

      I like this music..I actually would love to know the name of the tracks

    • @NatiiixLP
      @NatiiixLP 3 года назад +3

      Hey, this is the closest you'll ever get to a movie hacking scene, so I don't see anything wrong with it. Obviously, I wouldn't want to use it for a longer period of time in a serious setting.

  • @Riddicard
    @Riddicard 12 лет назад

    I would love this if it were about twice as fast. As it is, it's terribly boring, and feels like it was done for someone with trouble reading or something..