Tasks:Mapview: Difference between revisions

From Adonthell
Jump to navigation Jump to search
m category added
Updated for state of implementation
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)
* Rendering of non-solid objects, like high grass, water surface, ground fog, etc. ...
* Multiple instances of the mapview may be active at any time.
* Multiple instances of the mapview may be active at any time.
* The portion of the map being rendered is controlled by a [[Scripting:Contents|python script]] that runs periodically.
* The portion of the map being rendered is controlled by a [[Scripting:Contents|python script]] that runs periodically.
Line 21: Line 22:
== 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/test/worldtest.cc?view=markup Primitive rendering] in CVS
* [http://lists.nongnu.org/archive/html/adonthell-devel/2007-12/msg00003.html Thoughts] about rendering non-solid objects.


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

Revision as of 18:30, 8 March 2008

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. ...
  • Multiple instances of the mapview may be active at any time.
  • The portion of the map being rendered is controlled by a python script that runs periodically.
  • The mapview fills the complete screen; user interface is rendered on top of mapview.

References