• tetris11@feddit.uk
    link
    fedilink
    English
    arrow-up
    93
    ·
    edit-2
    1 day ago

    Well yeah, we have a character model for the giant demon and the giant demon has a huge use case.

    A scarf? That’s a model extension. Either you’re asking me to create a whole new character with a scarf baked into the mesh that will deform weirdly as the character moves, or you’re asking me to implement an accessory-anchor system all for the sake of a scarf (albeit other accessories might use this new framework) which will then need a physics/cloth sim to even look half good.

    • Natanael@infosec.pub
      link
      fedilink
      arrow-up
      26
      ·
      1 day ago

      You could import fabric physics and just have it lie there, but that’s going to be a bigger hit on performance than you possibly can imagine and it will move weirdly (in large part becomes we’re not modeling wind, just fabric in a vacuum) and the model features it will lie on top of won’t deform accurately from the simulated weight, etc…

    • HubertManne@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      my thoughts. system has to be made for costuming from the get go and you bring in a wierd new character race and everything breaks for them.

    • propitiouspanda@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      19 hours ago

      or you’re asking me to implement an accessory-anchor system all for the sake of a scarf

      It… shouldn’t be that difficult?

      It’s literally adding another piece of gear, like gloves, breastplate, helmet, etc. Now just repeat the process for a scarf.

        • propitiouspanda@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          I mean, if it doesn’t then it’s just adding to the model.

          Django from Boktai had a scarf. I doubt it was difficult to add.

          Even then, it becomes a problem of adding a gear system at all and a scarf is pretty irrelevant.

      • Bimfred@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        15 hours ago

        A character model is made up of “slots”. The head slot, the chest slot, the legs slot and so on. When you equip a piece of gear, it replaced the body mesh in that slot. So a helmet model replaces the head, a cuirass replaces the chest, I think you follow. If you want a piece of gear to only partially cover the character, you need to create a new slot. But gear is easy to implement, since it conforms to the character’s “body” and uses the same animations.

        Now add a scarf. First, you need to create a new slot, so that equipping the scarf doesn’t replace the head or chest. And then comes the question of animations. Are you going to have the scarf just lay flat against the character? That’s the easiest approach, but it’ll be completely static, look like ass and probably clip through at least some of your armors. You could use a cloth sim. If your scarf mesh has enough polygons, it’ll look the best. But it’s also computationally expensive, especially if you go with mesh-based collisions for maximum eye candy. And what types of objects can the scarf collide with? Just the character, or world objects as well? Every object the scarf collides with will create a whole new slew of physics calculations, all the time, dropping your performance in the gutter like a mob snitch. Or you could create a bespoke rig for the scarf. It’ll look better than a static object and won’t have a notable performance hit, but won’t look as good as the cloth sim, especially since it won’t collide properly with whatever else your character is wearing. And you’d need to create matching animations for literally every animation the character can possibly do. Every. Single. One. Your animators would want to murder you. And they will, when you come back to them a little later and say “Okay, real impressed with the scarf, now let’s make 5 different ones. And I want capes.”

        TL;DR: It’s not just another piece of gear.

        • propitiouspanda@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          4
          ·
          11 hours ago

          TL;DR: It’s not just another piece of gear.

          Yes it is. It’s identical to adding a cape.

          TL;DR: skill issue

          • Bimfred@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            11 hours ago

            I didn’t think I’d have to point out that adding a cape is a similar pain in the ass. Dynamic objects like scarves and capes are not the same as a shirt. If your character framework isn’t set up for them from the start, implementing them is not as simple as “just plop it in there bruh”.

            • propitiouspanda@lemmy.cafe
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              4
              ·
              11 hours ago

              I didn’t think I’d have to point out that adding a cape is a similar pain in the ass.

              Yeah, skill issue.

              • Bimfred@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                11 hours ago

                Right. Go add capes that aren’t just rigged to the existing skeleton to Jedi Outcast or Morrowind, then come back and tell me how easy it was.

                • propitiouspanda@lemmy.cafe
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  3
                  ·
                  edit-2
                  11 hours ago

                  Already done.

                  Soft-body physics aren’t hard.

                  In fact, I challenge you to do it yourself so you can see exactly how easy it is.

                  • Bimfred@lemmy.world
                    link
                    fedilink
                    arrow-up
                    2
                    arrow-down
                    1
                    ·
                    10 hours ago

                    Took you three minutes to implement soft body physics in the Quake 3 engine, huh? Show your work.