Changes between Version 1 and Version 2 of Ticket #21, comment 4
- Timestamp:
- Sep 18, 2012, 2:04:51 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21, comment 4
v1 v2 3 3 To summarise the changes: 4 4 -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 givenrectangular 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. 6 6 -Added setter to CTerrain to set value of heightmap at a specific point. 7 7 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.8 The main issue now is smoothing into surrounding tiles and updating the footprint decal once the height changes. I'll be working on that.