[PR #7063] [MERGED] Clear stale client2-004.tsv rows main already implements #7309

Closed
opened 2026-11-03 06:37:31 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7063
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-client2-004-w


📝 Commits (1)

  • 46399c6 port map: gizmo fills, gizmo texts and outlined text in client2-004

📊 Changes

1 file changed (+7 additions, -7 deletions)

View changed files

📝 tools/port_map/client2-004.tsv (+7 -7)

📄 Description

tools/port_map/client2-004.tsv still said the debug gizmos' filled quads and
text labels, and the outlined text path, were absent. Both are in the tree:
game/debug_renderers.rs::Game::debug_renderer_geometry turns the fills and the
billboard texts of the F3 debug renderers into vertices (and game/test_instances.rs
does the same for the game-test error markers), with gizmos::cuboid_fill_quads and
gizmos::billboard_text_unit supplying the geometry and scale; and
block_entity_render.rs::draw_text draws a text call's outline.

Verdicts corrected:

  • GizmoFeatureRenderer.buildTexts -> game/debug_renderers.rs::Game::debug_renderer_geometry:
    centred quads at billboard_text_unit scale without a background; the game-test
    markers draw theirs the same way. There is still no text kind on Gizmos itself,
    so a text from any other gizmo source is not drawn.
  • GizmoFeatureRenderer.buildQuads -> game/debug_renderers.rs::Game::debug_renderer_geometry:
    the colour fill of a cuboid gizmo, four vertices per quad. No free quad is
    submitted anywhere, so this is the cuboid fill only.
  • TextFeatureRenderer.renderText -> block_entity_render.rs::draw_text: the outline
    as the eight one-pixel offsets under the text, which vanilla draws NORMAL and the
    text POLYGON_OFFSET; both share one mesh here, so the text is lifted 0.05 of a font
    pixel instead of z-fighting with its outline.
  • DrawableGizmoPrimitives.addQuad -> gizmos.rs::cuboid_fill_quads: the six fill
    quads of a cuboid, which the debug renderers push into their fill list.
  • DrawableGizmoPrimitives.addText -> gizmos.rs::billboard_text_unit: one font
    pixel's world size for a text scale, the unit the billboard text quads are built at.

Notes corrected, verdicts unchanged:

  • GizmoFeatureRenderer.buildGroup: lines, cuboid fills and billboard texts are drawn;
    points and triangle fans have no kind.
  • DrawableGizmoPrimitives.submit: lines of both lists go to camera_relative in
    Game::render, while the debug renderers' fills and texts are built as vertices in
    debug_renderer_geometry.

Left alone, still absent: GizmoFeatureRenderer.buildPoints and
GizmoFeatureRenderer.buildTriangleFans with DrawableGizmoPrimitives.addPoint and
DrawableGizmoPrimitives.addTriangleFan (Gizmos has no point or fan kind, and no
pipeline draws either), and ItemFeatureRenderer.computeFoilDecalPose (nothing
component-wise scales a pose, so the 0.5 GUI and 0.75 first-person special-foil decal
is still not applied).

python3 tools/port_ledger.py map-check tools/port_map/client2-004.tsv: 118 rows, no problems.

Proven: ledger built here from the 26.3 client and server jars at main; every
row's vanilla class, method and cited Rust fn resolve, and each claim is read from
the function the row names.

Not proven: no in-game look at the debug renderers' fills, texts or an outlined
name tag; ledger verdicts, not behaviour changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7063 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-client2-004-w` --- ### 📝 Commits (1) - [`46399c6`](https://github.com/horizon-rust/horizon/commit/46399c6d43bcfc7d712faa5cad0cabdd13c0305f) port map: gizmo fills, gizmo texts and outlined text in client2-004 ### 📊 Changes **1 file changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-004.tsv` (+7 -7) </details> ### 📄 Description `tools/port_map/client2-004.tsv` still said the debug gizmos' filled quads and text labels, and the outlined text path, were absent. Both are in the tree: `game/debug_renderers.rs::Game::debug_renderer_geometry` turns the fills and the billboard texts of the F3 debug renderers into vertices (and `game/test_instances.rs` does the same for the game-test error markers), with `gizmos::cuboid_fill_quads` and `gizmos::billboard_text_unit` supplying the geometry and scale; and `block_entity_render.rs::draw_text` draws a text call's outline. Verdicts corrected: - `GizmoFeatureRenderer.buildTexts` -> `game/debug_renderers.rs::Game::debug_renderer_geometry`: centred quads at `billboard_text_unit` scale without a background; the game-test markers draw theirs the same way. There is still no text kind on `Gizmos` itself, so a text from any other gizmo source is not drawn. - `GizmoFeatureRenderer.buildQuads` -> `game/debug_renderers.rs::Game::debug_renderer_geometry`: the colour fill of a cuboid gizmo, four vertices per quad. No free quad is submitted anywhere, so this is the cuboid fill only. - `TextFeatureRenderer.renderText` -> `block_entity_render.rs::draw_text`: the outline as the eight one-pixel offsets under the text, which vanilla draws NORMAL and the text POLYGON_OFFSET; both share one mesh here, so the text is lifted 0.05 of a font pixel instead of z-fighting with its outline. - `DrawableGizmoPrimitives.addQuad` -> `gizmos.rs::cuboid_fill_quads`: the six fill quads of a cuboid, which the debug renderers push into their fill list. - `DrawableGizmoPrimitives.addText` -> `gizmos.rs::billboard_text_unit`: one font pixel's world size for a text scale, the unit the billboard text quads are built at. Notes corrected, verdicts unchanged: - `GizmoFeatureRenderer.buildGroup`: lines, cuboid fills and billboard texts are drawn; points and triangle fans have no kind. - `DrawableGizmoPrimitives.submit`: lines of both lists go to `camera_relative` in `Game::render`, while the debug renderers' fills and texts are built as vertices in `debug_renderer_geometry`. Left alone, still absent: `GizmoFeatureRenderer.buildPoints` and `GizmoFeatureRenderer.buildTriangleFans` with `DrawableGizmoPrimitives.addPoint` and `DrawableGizmoPrimitives.addTriangleFan` (`Gizmos` has no point or fan kind, and no pipeline draws either), and `ItemFeatureRenderer.computeFoilDecalPose` (nothing component-wise scales a pose, so the 0.5 GUI and 0.75 first-person special-foil decal is still not applied). `python3 tools/port_ledger.py map-check tools/port_map/client2-004.tsv`: `118 rows, no problems.` **Proven:** ledger built here from the 26.3 client and server jars at `main`; every row's vanilla class, method and cited Rust fn resolve, and each claim is read from the function the row names. **Not proven:** no in-game look at the debug renderers' fills, texts or an outlined name tag; ledger verdicts, not behaviour changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:37:31 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7309
No description provided.