Post on 11-May-2015
description
transcript
Terrain Modification Project
Authors:
Gabriele SeppiMichele Dalla Torre
Detail Management
Add detail where needed (introduction of features)
Avoid adding detail in tiles where no changes are present
Storing Modifications
Different, linked structures (tile and TMI)
TMI: stores a matrix of values representing the delta in elevation
Application of TMI to the relative tile results in adding the delta to the existent elevations
As a result the tile increses its detail to handle modifications more precisely
Adding New Modifications
A new modification is a tool with a matrix of values
Each tile is affected only by the intersecting area between the tool matrix and the TMI matrix
Only values in this zone are changed, according to predefined rules
Difference in detail between TMI and tool is considered
Blending Mode for Tools
Two different ways of adding new modifications
Add mode simply adds new modifications on top of the existing ones
Substitute mode replaces existing values with the new ones
Adding New Modifications (cont.)
Recursive approach Find only the affected
tiles Update each tile from
children if needed Independent of the
rendering process
Asynchronous Approach
Use of threads to apply new modifications
Queue containing all the tools to be applied
Improvement of visual responsiveness
The interface
Tools
Tools
Tools
Tool Overview