Changes between Version 1 and Version 2 of Ticket #21, comment 4


Ignore:
Timestamp:
Sep 18, 2012, 2:04:51 PM (12 years ago)
Author:
thomas

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21, comment 4

    v1 v2  
    33To summarise the changes:
    44-Added a section to Foundation.js component to flatten the surrounding area when construction is started.
    5 -Added method to complement ICmpTerrain::GetGroundLevel(). This method sets all height values to the same value for a given rectangular region.
     5-Added method to complement ICmpTerrain::GetGroundLevel(), ICmpTerrain::SetGroundLevelRegion(). This method sets all height values to the same value for a given (possibly rotated) rectangular region.
    66-Added setter to CTerrain to set value of heightmap at a specific point.
    77
    8 I know that making CTerrain::InitialisePatches() public isn't a good move, but maybe someone can suggest a better way to force the patches to update. Calling CCmpTerrain::ReloadTerrain() or CCmpTerrain::MakeDirty() doesn't seem to work. I hope this helps get the ball rolling even if I didn't get it quite right.
     8The main issue now is smoothing into surrounding tiles and updating the footprint decal once the height changes. I'll be working on that.