Skip to content

GoBuild v0.9.0

Choose a tag to compare

@github-actions github-actions released this 23 Jul 14:50
· 153 commits to main since this release

Added

  • UV Select Island — double-click a face in the UV canvas to flood-fill select all
    UV-connected faces in its island; Shift+double-click adds the island to the current
    selection, Ctrl+double-click toggles it
  • Prepare for Texturing — one-click "Prep Tex" button in the UV panel Operations
    drawer: applies Box UV projection to all faces, then packs islands into the 0-1
    tile; full undo/redo as a single action
  • UV wireframe export (PNG) — "Export UV" button in the UV panel Operations drawer;
    renders UV wireframe to PNG at configurable resolution; white lines on transparent
    background by default; uses Bresenham line drawing with configurable width and colours
  • Drag-and-drop texture to UV canvas — drop a Texture2D or Material from the
    FileSystem dock onto the UV canvas to assign it to selected faces; reuses existing
    material slots or creates a new StandardMaterial3D; full undo/redo
  • Drag-and-drop material to 3D viewport — drag a Material or Texture2D from the
    FileSystem onto a GoBuild mesh to preview per-face assignment; raycast targets the
    face under the cursor; Ctrl hint overlay; Escape cancels; full undo/redo
  • Rip operation (V key) — split shared vertices or edges apart, creating an open
    seam; works in Vertex mode and Edge mode; RipOperation.apply_vertices and
    RipOperation.apply_edges; panel buttons, context menu entries, and V shortcut;
    13 unit tests
  • Normal visualiser overlay — face normals (cyan lines from face centroids) and
    vertex normals (lavender lines, area-weighted average of adjacent face normals);
    "Normals" and "Vtx N" checkboxes in General drawer; N key shortcut toggles face normals
  • X-ray off mode — backface culling and depth occlusion for vertex, edge, and face
    picking; elements behind the mesh surface are not selectable when X-ray is off;
    box select also respects occlusion; gizmo elements behind the mesh are hidden by
    depth-tested materials
  • Occlusion-aware mesh switching — clicking on another GoBuild mesh now only switches
    to it if no closer geometry blocks the click; parametric ray distance comparison
    replaces centroid-based approximation; prevents accidental hops to meshes behind the
    current one even in X-ray mode
  • Camera-facing prism edge gizmos — edges are drawn as 3-face prisms (0°/60°/120°
    cross-section) instead of single flat ribbons, giving a consistent spherical
    appearance from every viewing angle; double-sided materials ensure visibility
  • Consolidate material slots — "Consolidate Slots" button in Materials drawer merges
    duplicate material slots (same resource or both null) and removes empty slots,
    preventing slot proliferation from repeated face assignments
  • Merge faces — "Merge Faces" button in Face drawer dissolves interior edges of
    adjacent selected faces, creating a single N-gon; works on any connected group;
    also available in right-click context menu (requires 2+ selected faces);
    winding-corrected: ring normal is checked against the average face normal and
    reversed if inward, preventing flipped normals
  • Multi-mode operations — UV projection and smooth group buttons now work in
    Object mode, applying to all faces; UV projections in Object mode are immediate
    commits (no param preview) since fine-tuning all-face projections is rare

Changed

  • UV and Surface drawers now auto-open in Object mode (alongside Create Shape),
    making Object mode operations discoverable without manual drawer expansion;
    both drawers also default to open on initial panel load
  • Edge gizmo thickness reduced (selected ratio 0.6, unselected 0.4, down from 0.8/0.7)
  • Context edge colour (vertex/face mode) changed from grey (0.4) to dark grey (0.2)
    for a subtler wireframe look closer to Blender
  • Vertex handles always drawn on top (no depth test) in vertex mode regardless of
    X-ray setting, preventing edges from drawing over vertex cubes
  • Edge ribbon materials use double-sided rendering (CULL_DISABLED) so prism quads
    are visible from both sides

Fixed

  • Inset drag (Shift + Scale gizmo) was broken since the unified drag pipeline
    refactor — GoBuildDragOperation.create_for_gizmo_handle classified inset
    drags as SCALE_AXIS because the handle-ID check came before the inset-centroids
    check; moved inset-centroids check to the top of the elif chain
  • Merge faces could produce inward-facing normals when the boundary ring walk
    happened to traverse the ring clockwise; now computes the Newell normal of the
    ring and compares it to the average outward normal of the original faces, reversing
    the ring if they disagree