Results 1 to 3 of 3

Thread: Warped walls recreation

  
  1. #1

    Default Warped walls recreation

    https://ludorverr.itch.io/warped-walls-recreation

    While not the biggest fan of DK2 I do like its terrain, it only has a few different terrain types and yet manages to look pretty fancy. This is the first time I've stepped into 3D development and the first time I've used Godot. A bunch of my interests aligned for me to work on this thing, shaders are fun and I like DK clones.

    Apparently the implementation for DK2 was pretty complex: https://github.com/tonihele/OpenKeeper/issues/108
    "Incremental Delaunay Triangulation" I have no idea what that is.

    From what I can tell DK2 uses simple cube collision boxes for the terrain;
    1. In possession mode when you push diagonally against the wall your camera will move in a straight line, no bumps. As a Firefly you are unable to fly all the way up to the ceiling, blocked by a flat collision box.
    2. If you possess a warlock and shoot a fireball at the side of a thin distorted rock terrain (dig around a rock tile without claiming to make it thin) your fireball will collide with air. Walk up to distorted terrain and it obviously has a flat collision box.
    So I figured a shader that merely manipulates the positions of the vertices is good enough, it's a visual effect that stays within the collision box.

    https://simonschreibt.de/gat/dungeon-keeper-2-walls/
    https://gamedev.stackexchange.com/qu...ngeon-keeper-2
    Though it was barebones, the code sample in that last link was a good starting point, credit to that guy.

  2. #2
    OpenKeeper developer
    Join Date
    Jul 2014
    Posts
    81

    Default Re: Warped walls recreation

    Pretty cool! You should contribute to OpenKeeper

  3. #3
    Imp
    Join Date
    May 2019
    Location
    Ukraine
    Posts
    1

    Default Re: Warped walls recreation

    Thanks for sharing!

Similar Threads

  1. [Question] - Reinforced Walls
    By Auxin in forum KeeperFX
    Replies: 2
    Last Post: November 2nd, 2014, 03:36

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •