Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt
zorbathut

algorithm

Given: A chunk of map with solid areas, nonsolid areas, and water.
Goal: A blurred chunk of map, with water less blurred than non-water.

Step 1: Extract water. Fill all areas that used to be water with the closest thing that isn't water.
Step 2: Blur map.
Step 3: Blur water. (Less.)
Step 4: Merge back together.

Augh.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments