Tasks:Object Models: Difference between revisions

From Adonthell
Jump to navigation Jump to search
Added object model task
 
Line 16: Line 16:
* The internal representation is composed of one or more cube shapes, defined by 8 freely positioned points.
* The internal representation is composed of one or more cube shapes, defined by 8 freely positioned points.
* For further processing, the internal representation is converted into a list of triangles.
* For further processing, the internal representation is converted into a list of triangles.
* Object graphics are composed of one or more 2D images.  
* Object graphics are composed of one or more 2D sprites.  
* A base point defines the location of an object on the map.
* A base point defines the location of an object on the map.



Revision as of 20:17, 1 September 2007

Back to Task List

Overview

The Object Model defines the shape and position of things that can be placed in the game world. It is required for Collision Detection, Path Finding and Rendering.

Dependencies

None

Requirements

  • Objects have one or more states. (like "open", "closed" for doors or containers)
  • Each state has its own graphical and internal representation.
  • The internal representation is composed of one or more cube shapes, defined by 8 freely positioned points.
  • For further processing, the internal representation is converted into a list of triangles.
  • Object graphics are composed of one or more 2D sprites.
  • A base point defines the location of an object on the map.

References