• Buddahriffic@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    1 year ago

    And sometimes you have more than one variable. Now if you have n variables and n polynomials containing each of those variables and not coplanar with each other, you can solve for each of those variables by adding or subtracting multiples of those equations from each other and/or rearranging and substituting variables for their equivalent equations.

    Now we’ll use this principle to write a ray tracer where we combine the equation for a line (that represents a ray traveling through a focal point and a pixel on a grid in front of that focal point) and the equation for a plane or other 3D primitive to find if they intersect and at what point if they do.

    Next lecture we’ll have a guest speaker, the ghost of Joseph Fourier in to tell you why jpegs get more jpegy each time you jpeg them.

    Any questions? Oh, actually we’ve run out of time and another class needs the room.

    • vexikron@lemmy.zip
      link
      fedilink
      arrow-up
      10
      ·
      1 year ago

      I mean that actually sounds like great fun to me, reminds me of when I taught myself matrix algebra to be able to mod bullet penetration and ricochets into GMod yeeeeears ago!

      Though I think a good bit of what you are describing is beyond the entry level Algebra text book pictured, lol, Fourier is certainly in the realm of Statistics.

      But yes, now its time to either fill in multiple choice dot scantron sheets, or fill out your answers to the final in buggy garbage software that often marks a correct answer is incorrect!

      • Buddahriffic@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Yeah, I enjoyed this also and have written ray tracers for fun and for grades. And you’re right, this isn’t intro to algebra level stuff, I was just trying to capture the way learning can sometimes be simple and straightforward and then you suddenly hit a wall of unexpected complexity you don’t feel ready for.