Skip to content
DevMeme
7319 of 7590
Graphics Post #8022 · source on Telegram

Welcome to Vulkan: Your First Triangle Will Hurt

Description

A four-panel comic using Zelda CD-i style artwork of Link. Panel 1: an enthusiastic Link with sword and shield says 'YAY, GRAPHICS PROGRAMMING!' with 'HEY!' beside a fairy. Panel 2: Link spots a skeleton enemy with a red triangle above it, captioned 'HEY LOOK IT'S A TRIANGLE, LET'S DRAW IT'. Panel 3: the skeleton violently stabs Link, depicted with a large red triangle as the weapon and a 'SCHUNK!' sound effect. Panel 4: a bleeding, crying Link looks at the triangle impaling him with a sign reading 'WELCOME TO Vulkan BITCH' featuring the Vulkan API logo. The comic lampoons the notorious verbosity of the Vulkan graphics API, where rendering a single 'hello triangle' requires roughly a thousand lines of boilerplate covering instances, devices, swapchains, pipelines, and synchronization

Comments

16
Anonymous ★ Top Pick Vulkan gives you explicit control over everything - including exactly how many of the 1,200 lines of swapchain boilerplate it takes to draw the same triangle OpenGL did in 1992 with twelve
  1. Anonymous ★ Top Pick

    Vulkan gives you explicit control over everything - including exactly how many of the 1,200 lines of swapchain boilerplate it takes to draw the same triangle OpenGL did in 1992 with twelve

  2. Anonymous

    A Vulkan triangle has three vertices and twelve hundred lines of emotional-support initialization.

  3. @HmDori 3mo

    What wrong with Vulkan?

    1. @agonyship 2mo

      Vulkan considered harmful

    2. @Daonifur 2mo

      A lot of it is compatibility with older systems. Idk any specifics outside of this context though

      1. @b7sum 2mo

        haven't you explored graphics programming before

        1. @Daonifur 2mo

          Yeah but before Vulkan

          1. @b7sum 2mo

            drawing a triangle requires ≈1100 loc with proper comment documentation

            1. @Daonifur 2mo

              Ah, so not only is it not supported on older operating systems and devices, it takes a lot just to get it started

    3. Егор 2mo

      Not high level enough. Memes about it are made by the same people who make memes about missing ;

    4. @azizhakberdiev 2mo

      not the best way to learn 3d graphics at all, instead of focusing on rendering models, you have to first learn its intricacies and optimizations

    5. @polyduekes 2mo

      it's not as simple as opengl

  4. @sysoevyarik 2mo

    Vulkans fans be like: "uhm actually its gives you freedom for unknown before optimization for your unique cases" and then proceed to write their own version of opengl 3 api, but shittier (same happens with opengl 3 and opengl 1 tbf)

    1. @feedable 2mo

      aint no way anyone makes immediate mode on purpose

      1. @feedable 2mo

        or even the binding hell

  5. @Agent1378 2mo

    So the, what is left is joke about DirectX and shader language also

Use J and K for navigation