Home 3D Art Showcase & Critiques

RichMakeGame Devlog

2

Replies

  • rooster
    Options
    Offline / Send Message
    rooster mod
    cheers! here's some progress shots of new environment generation method I'm working on:

    ( I'm mostly cobbling together example scripts at the moment, but it will all come together as something interesting hopefully! )

    here's me getting a landscape generated via heightmap:
    height_01-300x140.jpg

    now I'm using a smooth algorithm because the resolution of the mesh can make the banded gradient too jaggy. I'll use higher res but smoothing it out a little helps a lot. The reason I don't just blur the height image is because the heightmap generation isn't perfect, there's subtle bumps and dimples that benefit from being relaxed:

    height_02-300x140.jpg

    this is just me enjoying the fact I can vary the landscape resolution at will:
    height_03-300x140.jpg

    so, there's a reason I want to use heightmap procedural generated mesh over A- sculpted mesh, or B- Unity's landscape tool. I want to be able to change the mesh resolution at any time without changing the design, so this makes heightmaps ideal. And unity's landscape tool has nice painting features and variable mesh resolution but it doesn't give me control of generating UVs or using custom materials which is important..

    the next step for me is now to make the tool generate base environment shapes at random (or based on some control parameters)

    task list:

    - find method of randomly creating image for use with landscape generation. Main idea: pick several pre-made base images at random and combine in various ways ( flip, rotate, invert) to produce unpredictable result

    - change aspect ratio and size of landscape without squashing features and keeping scale consistent - eg smaller landscape area does not produce smaller hills
  • rooster
    Options
    Offline / Send Message
    rooster mod
    Ey up! aw, people seem unimpressed with my awesome smiley face landscape. On to the next phase, landscape generation. I've gone ahead with my method of selecting several images at random and mashing them together to give new results. I start with a folder of 20 or so squiggly images- some drawn in photoshop, some are very blurred photos. just trying whatever at the moment to see what comes out. here's some examples:

    rando_07.jpg

    My current method is to take one image, subtract it from another, and add a third- images are randomly rotated as well. To make up for the 'corner' bits of images going missing when they are rotated arbitrarily I zoom in to the image about 120%. here are some generated terrains:

    rando_01-300x153.jpg rando_02-300x153.jpg
    rando_03-300x153.jpg rando_04-300x153.jpg

    the next feature added is a blur option which smooths out features quite a lot if they seem too detailed. I used a unity store script called FilterMe which has a ton of different image operations, very cheap. recommend it!

    rando_05-1024x240.jpg

    Image slides a bit the more it is blurred. Not sure why yet..

    One last feature added to the terrain generator: detail zoom. This means that only a portion of generated images create a terrain, and gives the effect of larger terrain features (all I'm doing is narrowing the uv coords used in the calculation):

    rando_06-300x190.jpg

    That is all for this update! next task is:

    - change aspect ratio of landscape (eg, make into oblong) without squashing features

    cheers!
    -Rich
  • rooster
    Options
    Offline / Send Message
    rooster mod
    how do all! here's a video update on Car-Tank!
    [ame="http://www.youtube.com/watch?v=HRyCHh8FnNU"]Car-Tank progress update - YouTube[/ame]
  • Stinger88
    Options
    Offline / Send Message
    Stinger88 polycounter
    Looking f*ing awesome man. Keep it coming.
  • Shiv
    Options
    Offline / Send Message
    Shiv polycounter lvl 15
    Dude, love it, looks awesome :D
    That bouncy car XD

    Whats the stuff in the bottom left of the screen? looks like a lil box with blocks :o
  • rooster
    Options
    Offline / Send Message
    rooster mod
  • kaptainkernals
    Options
    Offline / Send Message
    kaptainkernals polycounter lvl 12
    Looks great, like how you've manage to keep the visual style of PSC even after changing engine :).

    Are you going to give points for tricks? backflips or spins etc

    If you need a tester again, i'm happy to help :)
  • rooster
    Options
    Offline / Send Message
    rooster mod
    awesome, I'll take you up on that :) cheers!

    I thought about points for flips and stuff, but I'm worried about people gaming the system and it ending up not being 'for fun'. like how I ended up jumping everywhere in morrowind just to boost athletics.

    I do want to have special little jump challenges dotted around, eg launch into the air and try to land on a target (and very short checkpoint timed race paths), so it's a one-time throwaway thing each time you play the level to grab some extra points
  • Frankie
    Options
    Offline / Send Message
    Frankie polycounter lvl 19
    Nice work rich :D I like the little guy in the corner, reminds me of Carmageddon.
2
Sign In or Register to comment.