Files
CydandClaude Fable 5 afc3fd839e Vendor dpl3-revive: the Division/DPL3 renderer, now ours
Bring the graphics-dev collaborator's dpl3-revive into the repo as first-class
project code (they've handed it off; it's ours now). This is the proven
Division renderer that our in-process rt_draw has been trying to be.

What's here:
- parser/  B2Z/V2Z/SVT/SCN/SPL/BGF/BMF/BSL decoders (pure Python).
- spec/    reverse-engineered format + the definitive VelociRender wire
           protocol (from the original DIVISION source, matches our live
           VPX node/action tables exactly).
- source-ref/  read-only copies of the original DIVISION C (BIZREAD.C,
           DPLTYPES.H, DPL.H) that define the formats.
- patha/   the "virtual VelociRender board": vrboard.py (24-action protocol
           server), vrview.py (numpy software rasterizer, the reference),
           vrview_gl.py (moderngl GPU backend, 832x512@60Hz), plus the
           run/replay/regress tooling and evidence renders. Drives FLYK/BLADE/
           Star Trek demos AND our btl4opt/rpl4opt game binaries.
- viewer/  WebGL archive generators (.py); prebuilt HTML/data regeneratable.
- samples/ small test models/textures.
- bt*.raw.bin  real BTL4OPT arena wire captures (kept for offline renderer
           testing/regression against OUR game).

.gitignore keeps the multi-hundred-MB demo capture dumps + debug logs +
regeneratable viewer bundles out of history (they stay on disk).

Phase 0 of the integration is validated: their board decodes our bt8 capture
with zero errors (3748 nodes, 507 instances, 4 mechs) and renders our arena
(terrain/dome/sky, correct Division DAC gamma). Plan + status in memory;
integration continues in emulator/RENDERER-COLLAB.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 22:06:25 -05:00

94 lines
1.9 KiB
Plaintext

# exported from DIV-BIZ2 by b2z.py
# object:
g geogroup_0
v 0 -1 0
v 0.587785 -0.809017 0
v 0.181636 -0.809017 0.559017
v -0.475528 -0.809017 0.345492
v -0.475528 -0.809017 -0.345491
v 0.181636 -0.809017 -0.559017
v 0.587785 -0.809017 0
f 1 2 3
f 1 3 4
f 1 4 5
f 1 5 6
f 1 6 7
v 0.951057 -0.309017 0
v 0.587785 -0.809017 0
v 0.293893 -0.309017 -0.904509
v 0.181636 -0.809017 -0.559017
v -0.769421 -0.309017 -0.559017
v -0.475528 -0.809017 -0.345491
v -0.769421 -0.309017 0.559017
v -0.475528 -0.809017 0.345492
v 0.293893 -0.309017 0.904508
v 0.181636 -0.809017 0.559017
v 0.951057 -0.309017 0
v 0.587785 -0.809017 0
f 8 9 10
f 10 9 11
f 10 11 12
f 12 11 13
f 12 13 14
f 14 13 15
f 14 15 16
f 16 15 17
f 16 17 18
f 18 17 19
v 0.951057 0.309017 0
v 0.951057 -0.309017 0
v 0.293893 0.309017 -0.904509
v 0.293893 -0.309017 -0.904509
v -0.769421 0.309017 -0.559017
v -0.769421 -0.309017 -0.559017
v -0.769421 0.309017 0.559017
v -0.769421 -0.309017 0.559017
v 0.293893 0.309017 0.904508
v 0.293893 -0.309017 0.904508
v 0.951057 0.309017 0
v 0.951057 -0.309017 0
f 20 21 22
f 22 21 23
f 22 23 24
f 24 23 25
f 24 25 26
f 26 25 27
f 26 27 28
f 28 27 29
f 28 29 30
f 30 29 31
v 0.587785 0.809017 0
v 0.951057 0.309017 0
v 0.181636 0.809017 -0.559017
v 0.293893 0.309017 -0.904509
v -0.475528 0.809017 -0.345491
v -0.769421 0.309017 -0.559017
v -0.475528 0.809017 0.345492
v -0.769421 0.309017 0.559017
v 0.181636 0.809017 0.559017
v 0.293893 0.309017 0.904508
v 0.587785 0.809017 0
v 0.951057 0.309017 0
f 32 33 34
f 34 33 35
f 34 35 36
f 36 35 37
f 36 37 38
f 38 37 39
f 38 39 40
f 40 39 41
f 40 41 42
f 42 41 43
v 0 1 0
v 0.587785 0.809017 0
v 0.181636 0.809017 -0.559017
v -0.475528 0.809017 -0.345491
v -0.475528 0.809017 0.345492
v 0.181636 0.809017 0.559017
v 0.587785 0.809017 0
f 44 45 46
f 44 46 47
f 44 47 48
f 44 48 49
f 44 49 50