Daddy needs a new pair of RAM!

edit: the fps are way better in smaller terminal windows with lower character count but then it’s hard to make out the dice. D:

edit2: code here (expires in 2 weeks)

  • AnarchistArtificer@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    One of my favourite things in the entire world is what I call “high effort shitposts”. Running DOOM on absurd devices like pregnancy tests is the archetypical example I use when explaining this.

    Well, congrats, because this is absurd enough that this makes the list too. You are ridiculous and delightful, and I am glad that you exist to create impressive horrors like this.

    • Pudutr0n@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      Thank you so much! I love high effort shitposts too!

      And if you liked that, you’re going to love this: A while ago I also wrote a 3d renderer from scratch inside the picotron, an emulated fantasy console that never existed, to display a 3d model of a pudu.

      I have a few more of these you might appreciate, non 3d related.

  • adhocfungus@midwest.social
    link
    fedilink
    arrow-up
    0
    ·
    3 days ago

    Absolutely insane. Part of me wants to see the source code, but part of me is terrified of how complex it must be. Plus I’ve only been writing bash for 20 years, so it would probably look incomprehensible to me.

  • Mike Wooskey@lemmy.thewooskeys.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    I’m viewing this thread in Lemmy and am unable to find any mention of a link to the source code or a demo, and I can’t see the attached media (genetic image icon - is it an animated gif or a video?).

    Based on all the comments, I appear to be in the [significant] minority. Would you mind posting a link to your source or demo or image/video?

    • Pudutr0n@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      3 days ago

      I haven’t shared the source code yet because criticism is terrifying and I’m a horrible coder, but with the encouragement of the the community I might give it a shot. I don’t even have a codeberg account yet though.

      The post contains these two video links: https://files.catbox.moe/8rz9m7.mp4 https://files.catbox.moe/5d3n2k.mp4

      If you still can’t see them, maybe you can suggest a different hosting service, one that works for you? Or if you really really want the source code I suppose I could send it by DM on the meantime.

      • vrek@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 days ago

        Just letting you know the original post video didn’t load and gave a 500 error in jerboa but those two links work. Looks impressive but I’m confused on how to read the die. Yes there is a giant banner telling me the value it chose but I’m struggling to figure out how the visuals map to those values, can you give some details on how to read the die?

        • Pudutr0n@lemmy.worldOP
          link
          fedilink
          arrow-up
          0
          ·
          3 days ago

          Yes, the values are rendered on top of each face with “pixel” maps (ascii art) that have the character of the digit they represent as each pixel. These are later manipulated by the perspective projection.

          For example on this d6 you can see the top face has 1s written down (in the shape of a sideways one) and the front one has 4s written down in the shape of a skewed and sideways 4.

          In this specific color scheme there’s not a lot of contrast between the values, but even in the palettes with better contrast, good readability is something I’m kind of giving up on solving well.

          • vrek@programming.dev
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 days ago

            In the second picture (with the d20) I’m guessing the face with “999” is actually a 9 but what is the value of the face with “999#111”…there is no value of 91 on a d20 :)

            • Pudutr0n@lemmy.worldOP
              link
              fedilink
              arrow-up
              0
              ·
              2 days ago

              actually I was working on the code and realized i got the textures mirrored due to negative-positive mix up. so it was reflecting the mirror image of 19

      • oce 🐆@jlai.lu
        link
        fedilink
        arrow-up
        0
        ·
        3 days ago

        There are millions of professional coders who couldn’t do what you did there.

  • Albbi@piefed.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    Looks like a great sl replacement! Gonna need this on every machine.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    3 days ago

    (hopefully) Constructive critique:

    • it looks like you’re handling the dice in physics as a ball? Takes forever to settle at the end.
    • the throw has a visual glitch.
    • Pudutr0n@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      3 days ago

      Thanks! Yeah, there’s definitely A LOT of room for improvement. collisions are handled per vertex, but torque is applied to angular impulse to the dice as a whole (like a ball I guess). The settling is a huge issue, yes. the visual glitches I’ve been trying to get rid of but man… fix one and then another one pops up in a different case. Thanks for your critique. :)

      • Atherel@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        3 days ago

        I first read it as “there’s a lot of DOOM for improvement” but as the rest of your comment confirmed this, I’ll keep it that way in my head!

  • farmgineer@nord.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    Are you often described as a masochist?

    It looks neat. I can’t imagine wanting to write it in bash, though, heh.