I’ve had this game idea for a while but I have trouble finding the right keywords to research it properly.

In the end I want an animal breeding simulation, where the offsprings looks and stats are based on the parents genetics.

First I wanted to focus entirely on the fur color and pattern. So I want to make a program which I can feed the fur genetics of the mother and the genetics of the father and that then generates the genetics of the child which then also can be translated into an actual picture of the fur.

How could I do that? Where could I start?

  • Butterbee (She/Her)@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    It’s going to depend a LOT on what type of graphical output you are looking for. Are you hoping to have realistic fur on a 3d model with simulated hair? Or is it a portrait only for a 2d game? If you’re searching for this most basic level of information I would not expect to do anything that complicated. That being said what I recommend to look into this kind of thing is to research “procedural textures”. You can find tutorials on how to make materials in substance designer (not painter), or material maker. A good starting point would be to become familiar with the Voronoi texture (edit: also the Musgrave texture), and displacing it using noise textures. This should be a good starting point for you. The basic idea (and this part here is jumping ahead and will make sense once you have learned about parameterized materials and those textures I mentioned) is to set up a material with inputs that you can mathematically blend.

    You will also want to become familiar with vector math to get good results since colour information in these programs can be handled the same way as 3d vectors (instead of x,y,z, there’s r,g,b but that’s still just an array of 3 values that can mathematically be handled the same way)

    The information you will come across will be for 3d modelling, but if your intent is on a 2d image you can still apply the theory.

    Material Maker is free so go ahead and try it out. https://www.materialmaker.org/

    • Lokoschade@feddit.deOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      I do have a 3d game in mind, not hyper realistic but maybe a similar style as the recent Zelda games BotW/TotK especially when it comes to the character/animal models. Thank you so much, this is very helpful!

      • Butterbee (She/Her)@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        You can also play around with the shader nodes in blender to learn the basics of the concept. These won’t be able to be used in a game engine directly, but it’s fast and easy to see the results of changes there. And also free!