Це відео не доступне.
Перепрошуємо.

Sapiens Devblog #24 - Porting from OpenGL to Vulkan

Поділитися
Вставка
  • Опубліковано 28 лис 2018
  • Evolve your primitive hunter gatherers through thousands of years of technological advancement. Feed, protect and grow your tribe, build towns and industry, and advance through the ages in this first person civilization builder for PC. Play with your friends in co-operative or competitive multiplayer, all on a procedurally generated planet larger than Earth.
    For the past 6 weeks or so I’ve been mostly working on porting the rendering engine from OpenGL to Vulkan. In this video I explain my reasons for taking on all of this extra work, and talk about some of the challenges and surprises I encountered during the process.
    Sapiens website: playsapiens.com
    Follow me on twitter: @majicDave

КОМЕНТАРІ • 31

  • @rainey06au
    @rainey06au 2 роки тому +3

    This is an epic leap forwards. Love the change to vulkan, the wind, and the hexa segments are way better, especially in the distant hills for the snow etc. less jarring.

  • @trevorthieme5157
    @trevorthieme5157 5 років тому +36

    This is seriously impressive!

  • @Pokabbie
    @Pokabbie 5 років тому +18

    I know this is from a bit ago, but you should consider swapping out your water reflections from planar to SSR. Much cheaper than having to render the scene again, although you do have to deal with artifacts when trying to create a sample for something that is reflected off screen; though given the low viewing angle present in this game I think it would be unnoticeable and a really nice way to gain back some frame time for future use ;)

  • @todmcloud6090
    @todmcloud6090 3 роки тому +3

    Loven theese, been binge watching them all, want to suggest things but i still have 30+ videos to watch! Main menu it would look cool if the font is like chiselled stone

  • @lewispearson
    @lewispearson 5 років тому +9

    Looking great. Few more ideas that might lead to some interesting organic behaviour in animals and humans;
    - Tiredness attribute (a measure of when they last rested, more likely at night, might seek shelter or sit at a campfire to rest)
    - Temperature attribute (seek shelter when it rains, or at midday, humans might seek a campfire to warm up)
    - Social attribute (more likely to stay close to their peers for safety, join their peers around a campfire)
    - Fright (animals might naturally try to avoid bigger animals or humans)
    - Thirst (animals might seek water sources)
    Keep up the good work :)

    • @majicDave
      @majicDave  5 років тому +10

      Great suggestions thanks. Most of these are already on my todo list :)

  • @frater_niram
    @frater_niram 5 років тому +2

    hope it will big as crazy as i'm imagining it, those landscapes are so amazing

  • @gvcallen
    @gvcallen 3 роки тому

    3 years laters and you definitely made the right choice! Hope all is well

  • @chrono393
    @chrono393 3 роки тому +2

    The thing that sucks is after over 1000 lines of vulkan code you finally have a window with a triangle. So it's impressive when an indie dev makes a full game with vulkan

    • @anwartech8193
      @anwartech8193 Рік тому +1

      It doesn't even matter because these lines are done just at the first setup and will after get easier the first code is written just once.

  • @paulboursin2706
    @paulboursin2706 5 років тому +1

    Loving it

  • @developerdeveloper67
    @developerdeveloper67 3 роки тому

    Looking good, congrats.

  • @dragonbeast9318
    @dragonbeast9318 5 років тому

    I can’t wait!

  • @iMonZ00
    @iMonZ00 3 роки тому +1

    You can get it working on Mac with MoltenVK
    so exited :)

  • @slembcke
    @slembcke 5 років тому +2

    Very nice! I also realized that I was wearing a blockheads shirt while watching this. Hmm. Coincidence?

  • @geohan98
    @geohan98 5 років тому

    How do you decide how you want to structure system, like the entry point of the application for example?

  • @trevorthieme5157
    @trevorthieme5157 5 років тому +6

    If you wan't to give the AI some more intelligence maybe you could make them remember when other NPCs or players do certain actions when they are within their vision. As in both the NPC/player and what they are doing an action with is in their visual range and the NPC remembers what they were doing and within what range of statistics (that they had or would have access to by vision/scent etc) and have them predict when another NPC would do something based on their stats and their experience watching other similar NPCs. So when a NPC with certain amounts of knowledge (or averaged information or information that they generally do things when within a certain status range) on other NPCs weather it be humanoid or animal it could follow them or stay away from them predicting them becoming aggressive or going to some food/water/shelter source that they would have stored information on. If you would consider NPCs having data like this being stored!
    Probably somewhat hard to set up but not as bad as one would imagine depending on how you have your NPCs already set up since this is the first video of yours that I have seen.
    Though you would have to worry about something like what happened to Skyrim's devs where their NPCs weren't set up right and acted crazy and ruined the game because they had quest starting characters that died to animals that went hungry and charged into town for bread in stalls or bandits raiding towns for whatever. (When none of that stuff is generally even possible now unless you take an hour to try to set up something like that and probably with mods too)
    At least this is an idea that I want to try on my work once I get a bit more into programming.
    ANYHOW keep up the great work!

  • @michael_m38
    @michael_m38 5 років тому +2

    i miss the blockheads... please bring that game back to life... it was amazing

  • @Bolt6265
    @Bolt6265 5 років тому +2

    Is the wind animation on the trees and grass just done with like vertex shaders? Does vulkan even work the same as like opengl with vertex/geometry/fragment programs?

    • @SerBallister
      @SerBallister 4 роки тому

      It's quite similar. The GLSL shaders are mostly compatible with both OpenGL & Vulkan. If you're familiar with OpenGL then a lot of the draw commands/render states make sense.

  • @KaneBennettNZ
    @KaneBennettNZ 5 років тому +1

    Dude! This is epic. Are you a kiwi? Sounds like. Me too heh. How did you even get started with making your own engine? It's not like you can just look up a tutorial. Keen to have a chinwag!

    • @daleowens7695
      @daleowens7695 5 років тому +3

      Sure you can!!! Pick up a Vulkan tutorial and get a triangle on screen. Figure out how to rotate it. Figure out how to rotate from controller input. Watch "handmade hero". Figure out how to render any mesh from Blender. Figure out basic lighting techniques to add a bit of realism. The point is, start small and make something. You will have no idea what you need in the future until you need it, so no point in designing some Super Awesome Fantastic Game Engine™. Just make what you need when you need it, clean up after yourself as you go, and the pieces will fall into place.

  • @gordongoodman8342
    @gordongoodman8342 5 років тому +3

    I'm jealous.

  • @infosecholsta
    @infosecholsta 5 років тому +1

    The website appears to be broken? Playsapiens.net does not exist.

    • @majicDave
      @majicDave  5 років тому

      It’s now moved to playsapiens.com. I’ve had some troubles with the redirects with https sorry. I’ll update the link in the description at least.

  • @tomnewsom9124
    @tomnewsom9124 4 роки тому +2

    Ah, nice hexes :) What are the chances of spawning near a (whispers) PENTAGON?

  • @loopymadethatbeat
    @loopymadethatbeat Рік тому

    hey man i dope some dope soundtracks for video games and im looking for more work, if u need any soundtracks i got u . the sapiens progress is legit tho keep up the fine work good sir

  • @kyonas6047
    @kyonas6047 2 роки тому

    when i first watched this vid i didin't know wth vulkan was or opengl thought they were a game engine lol now im devolping in vulkan

  • @billclinton4913
    @billclinton4913 5 років тому

    Umm, open gl is not an api. Still very impressive.

    • @sleek8317
      @sleek8317 5 років тому +15

      OpenGL is an API

    • @billclinton4913
      @billclinton4913 5 років тому +1

      @@sleek8317 oof your right. I was thinking about a library. My bad.