brianfeaster / worldtm

Automatically exported from code.google.com/p/worldtm
0 stars 0 forks source link

Sub-surface map rendering #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When an avatar walks beneath a cell or area of cells, the avatar and cells 
below the "ceiling" height should be visible.

This should solve rendering of multilevel structures or subterranean areas.  A 
building's roof will be visible unless the avatar walks inside revealing the 
contest of the room instead of the top most ceiling cells.

This will be implemented in two stage.

(1) The initial algorithm will be to determine the height, if any, of the 
closest cell directly above the avatar and to use that starting height when 
scanning down each column for the visible canvas cell.  The entire canvas 
region will be affected.

(2) The next algorithm will do this but only for cell related to the local 
region or enclosure.

Original issue reported on code.google.com by bri...@gmail.com on 22 Oct 2010 at 8:35

GoogleCodeExporter commented 9 years ago
r74 implements the initial algorithm.

Original comment by bri...@gmail.com on 23 Oct 2010 at 1:25

GoogleCodeExporter commented 9 years ago

Original comment by bri...@gmail.com on 21 Jun 2011 at 10:34