• davad@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    I’ve always thought “imaginary” vs “real” was an unfortunate naming convention.

    I don’t know about other fields, but electrical engineering uses imaginary numbers with AC circuits and changing electrical fields. Since electricity moves as waves, imaginary numbers let you represent what’s coming 90 degrees later in a compact way.

      • Snazz@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Quaternions are useful, but no means necessary or intrinsic to 3d graphics.

        They are useful for describing rotations in 3d space, but the same can be done with a matrix, or even Euler angles. It’s just a more calculations.

        That said, basically all the major game engines use quaternions, so unless you are creating your own 3d renderer, you have to learn at least the basics about them.

        Quaternions really shine at spherical interpolation (Slerp - yes thats the real terminology) between two rotations.