Tasks:Mapview: Difference between revisions

From Adonthell
Jump to navigation Jump to search
m category added
m Requirements: additional requirement
 
(4 intermediate revisions by the same user not shown)
Line 14: Line 14:
== Requirements ==
== Requirements ==


* The mapview contains a cache of the graphics needed to render the model. It works with a reference count, discarding unused graphics after the cache reaches a certain size.
* <span style="text-decoration:line-through">Rendering of solid objects and characters</span> (done)
* Multiple instances of the mapview may be active at any time.
* Rendering of non-solid objects, like high grass, water surface, ground fog, etc. ...
* The portion of the map being rendered is controlled by a [[Scripting:Contents|python script]] that runs periodically.
* <span style="text-decoration:line-through">Exchangeable renderers (graphical, shaded bbox, wireframe ...) or possibly multiple renderers.</span> (done)
* The mapview fills the complete screen; user interface is rendered on top of mapview.
* Freeing of resources when no longer used by map view
 
* <span style="text-decoration:line-through">Multiple instances of the mapview may be active at any time.</span> (done)
* <span style="text-decoration:line-through">The portion of the map being rendered is controlled by a [[Scripting:Contents|python script]] that runs periodically.</span> (done)
* <span style="text-decoration:line-through">The mapview fills the complete screen; user interface is rendered on top of mapview.</span> (done)
* The mapview can be limited to a range on the z-axis, to render a single floor of a map interior (building, cave).
 
== References ==
== References ==


* [[Architecture:Map Module|Engine Architcture Documentation]] [http://adonthell.linuxgames.com/files/architecture.pdf], Chapter 'Map module'
* [[Architecture:Map Module#Maps and Views|Map View]] in the Engine Architcture Documentation
* [http://cvs.savannah.gnu.org/viewvc/adonthell/adonthell/src/world/mapview.cc?view=markup Map view implementation] in CVS
* [http://lists.nongnu.org/archive/html/adonthell-devel/2007-12/msg00003.html Thoughts] about rendering non-solid objects.
* [http://lists.nongnu.org/archive/html/adonthell-devel/2008-06/msg00001.html Open Item List] and proposed solution. 


[[Category:Tasks]]
[[Category:Development]]
[[Category:Development]]

Latest revision as of 19:48, 14 April 2009

Back to Task Lists

Overview

The map view renders a portion of the world model on screen.

Dependencies

Requirements

  • Rendering of solid objects and characters (done)
  • Rendering of non-solid objects, like high grass, water surface, ground fog, etc. ...
  • Exchangeable renderers (graphical, shaded bbox, wireframe ...) or possibly multiple renderers. (done)
  • Freeing of resources when no longer used by map view
  • Multiple instances of the mapview may be active at any time. (done)
  • The portion of the map being rendered is controlled by a python script that runs periodically. (done)
  • The mapview fills the complete screen; user interface is rendered on top of mapview. (done)
  • The mapview can be limited to a range on the z-axis, to render a single floor of a map interior (building, cave).

References