This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
Radar Marker(object): Difference between revisions
SpazzyMcGee (talk | contribs) |
No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{DesignDocument}} | {{DesignDocument}} | ||
==Overview== | ==Overview== | ||
The radar marker map object is a proposed map object that will allow a map display radar specific graphics and text. | The radar marker map object is a proposed map object that will allow a map display radar specific graphics and text as [[Radar Marker]]s. | ||
==Contents== | ==Contents== | ||
| Line 11: | Line 11: | ||
===Suggested Sub-types=== | ===Suggested Sub-types=== | ||
==== Line ==== | ==== Line ==== | ||
A line between two points. Data would include two start and end 3d vertex points | A line between two points. Data would include two start and end 3d vertex points and a color4. | ||
==== Polygon ==== | ==== Polygon ==== | ||
| Line 17: | Line 17: | ||
==== Filled-Polygon ==== | ==== Filled-Polygon ==== | ||
A filled polygon shape, convex only. Data would include a list of 3d vertex points | A filled polygon shape, convex only. Data would include a list of 3d vertex points and a color4 (or possibly a matref). | ||
==== Circle/Arc==== | ==== Circle/Arc==== | ||
| Line 23: | Line 23: | ||
==== Text==== | ==== Text==== | ||
A text object. Data would include a 3d center point, text | A text object. Data would include a 3d center point, text, and a color 4. | ||
==Uses== | ==Uses== | ||
Latest revision as of 17:56, 20 December 2007
Overview
The radar marker map object is a proposed map object that will allow a map display radar specific graphics and text as Radar Markers.
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
Line
A line between two points. Data would include two start and end 3d vertex points and a color4.
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 (or possibly a matref).
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.
