|
Player12
An open source football management simulator
|
#include <match_render_3d_tuning.h>
Static Public Attributes | |
| static constexpr float | SEAT_SPACING = 0.55f |
| static constexpr float | ROW_DEPTH = 0.85f |
| static constexpr float | DOT_WIDTH = 0.44f |
| static constexpr float | DOT_HEIGHT = 0.82f |
| static constexpr float | JITTER = 0.12f |
| static constexpr float | EMPTY_SEAT_RATIO = 0.08f |
| static constexpr float | HOME_SHARE = 0.34f |
| static constexpr float | HOME_END_SHARE = 0.62f |
| static constexpr float | SCARF_SHARE = 0.25f |
| static constexpr float | HOME_END_SCARF_SHARE = 0.5f |
| static constexpr float | NEUTRAL_CHEER_SHARE = 0.6f |
| static constexpr float | FLAG_SHARE = 0.004f |
| static constexpr float | HOME_END_FLAG_SHARE = 0.013f |
| static constexpr float | AWAY_END_FLAG_SHARE = 0.007f |
| static constexpr float | POLE_HEIGHT = 1.5f |
| static constexpr float | FLAG_LENGTH = 1.25f |
| static constexpr float | FLAG_HEIGHT = 0.8f |
| static constexpr float | FLAG_WAVE = 0.18f |
| static constexpr float | FLAG_WAVE_SPEED = 3.2f |
| static constexpr float | FLAG_MIN_PIXELS = 2.5f |
| static constexpr float | SWAY = 0.035f |
| static constexpr float | SWAY_SPEED = 1.3f |
| static constexpr float | HOP = 0.3f |
| static constexpr float | HOP_SPEED = 8.5f |
| static constexpr float | RISE = 0.16f |
| static constexpr float | RISE_RATE = 5.0f |
| static constexpr float | SETTLE_RATE = 1.2f |
| static constexpr float | ARM_REACH = 0.42f |
| static constexpr float | ARM_WIDTH_SHARE = 0.16f |
| static constexpr float | SCARF_WIDTH_SHARE = 1.9f |
| static constexpr float | SCARF_HEIGHT_SHARE = 0.11f |
| static constexpr float | SHOULDER_SHARE = 0.78f |
| static constexpr float | SHOULDER_DROP = 0.14f |
| static constexpr ImU32 | POLE_COLOR = IM_COL32(58, 52, 44, 255) |
| static constexpr float | AWAY_END_SHARE = 0.55f |
| static constexpr float | SHARE_SWING = 0.3f |
| static constexpr float | NOISE_SEATS = 9.0f |
| static constexpr float | NOISE_ROWS = 5.0f |
| static constexpr float | LIGHT_SWING = 0.14f |
| static constexpr float | LIGHT_JITTER = 0.04f |
| static constexpr int | CLUMP_SEATS = 4 |
| static constexpr int | CLUMP_ROWS = 2 |
| static constexpr float | CLUMP_TOP_SHARE = 0.6f |
| static constexpr float | CLUMP_PIXELS = 3.2f |
| static constexpr float | MIN_CLUMP_PIXELS = 1.4f |
| static constexpr float | FULL_DETAIL_PIXELS = 14.0f |
| static constexpr float | HEAD_DETAIL_PIXELS = 5.0f |
| static constexpr float | BODY_SHARE = 0.66f |
| static constexpr float | NECK_GAP = 0.04f |
| static constexpr float | HEAD_WIDTH_SHARE = 0.56f |
| static constexpr float | SEAT_SHOW_THROUGH = 0.25f |
| static constexpr std::uint32_t | SEED = 20260927U |
Spectators at real seat pitch. Seats are grouped into clumps (CLUMP_SEATS x CLUMP_ROWS) that stand in for their members once a seat shrinks below CLUMP_PIXELS on screen, and every spectator's colour fades towards its clump average as it gets smaller (a cheap mip-map), so the stands read as a crowd instead of pixel noise at any distance.
|
staticconstexpr |
Raised arms reach this share of the height above the head.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Seat pitch on screen below which clumps replace spectators.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Clump quads reach this share of a spectator above the next row.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Flags smaller than this on screen (px) are left to the crowd tint.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Seat pitch at which a spectator shows its own colour fully.
|
staticconstexpr |
Spectators wider than this get a separate head block.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
The home end (west) is packed with the club's own supporters.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Clump width below which the stand face alone shows the crowd.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Flag pole, cloth size (metres) and waving.
|
staticconstexpr |
Rising out of the seats for a shot: height share and rates (1/s).
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Seat colour showing through the crowd on the stand faces.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Low-frequency swing of the team share (fan blocks, quieter areas).
|
staticconstexpr |
|
staticconstexpr |
Shoulders taper to this share of the body width.
|
staticconstexpr |
Idle sway and goal hop as shares of a spectator's height.
|
staticconstexpr |