This wiki is archived and useful information is being migrated to the main bzflag.org website

Radar Marker(object)

From BZFlagWiki
Revision as of 21:00, 18 December 2007 by JeffM2501 (Talk | contribs) (New page: {{DesignDocument}} ==Overview== The radar marker map object is a proposed map object that will allow a map display radar specific graphics and text. ==Contents== The object will contain a...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Picture Frame.png This page contains the design document for an enhancement or feature. It is a work of collaborative development, and may not represent the final design. If you are not part of the development or design group, please post comments and suggestions on the talk page and not in the middle of the design.

Overview

The radar marker map object is a proposed map object that will allow a map display radar specific graphics and text.

Contents

The object will contain a sub-type and associated data.

The client will then display each subtype on the radar view only. Unknown sub-types will be ignored. All 3d point data would be in world space, with the objects being drawn in Z order ( lowest to highest ) in orthographic projection with the map.

Suggested Sub-types

Polygon

An outlined polygon shape, convex or concave. Data would include a list of 3d vertex points and a color4.

Filled-Polygon

A filled polygon shape, convex only. Data would include a list of 3d vertex points and a color4.

Circle/Arc

An outlined or filled Circle or arc segment (pie). Data would include a 3d center point, a radius, an start angle, end angle, and color4

Text

A text object. Data would include a 3d center point, text, and a color 4.

Uses

The biggest use of this object would be so that map developers can flag of specific areas of a map on the radar. This could be the outer map boundary for maps with no default walls, or it could be map specific area's such as CTF team bases, or deadly surfaces.