Skip to content

Implement P1 GLB editor workspace and scene editing - #28

Merged
VeloraTech merged 65 commits into
mainfrom
feat/p1-command-mode-orbit-preview
Nov 19, 2026
Merged

VeloraTech merged 65 commits into
mainfrom
feat/p1-command-mode-orbit-preview

Conversation

@VeloraTech

@VeloraTech VeloraTech commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

P1 implementation complete — awaiting validation

Command Mode and Orbit Preview

  • Searchable command palette with aliases, keyboard navigation, availability reasons and command execution.
  • Camera-only turntable around model bounds, with pause/resume and speed control.

Viewport and scene editing

  • Grid, axes, shading modes, frame/reset view, camera presets and perspective/orthographic projection.
  • Nested scene hierarchy with filtering, selection, visibility, rename, delete and lock controls.
  • Modifier-assisted multi-selection in the Outliner and viewport.
  • Move/rotate/scale gizmo supports a shared pivot for multi-object manipulation while retaining each object's parent.
  • Numeric transform editing applies the active object's transform delta to selected, unlocked objects.
  • Local/World coordinate space and mode-specific axis component locks.
  • Reset transforms and history undo/redo.
  • Material-slot selection for multi-material meshes; base color, metalness, roughness, opacity and texture channels for base color, metalness, roughness, normal, ambient occlusion and emissive maps.
  • Material property and texture changes use undo/redo history.
  • Texture loads completing after a model replacement are discarded and their GPU resources disposed.

P1-B: Inspection, export and workspace

  • Model inspection utility counts meshes, vertices, triangles, groups, materials and textures, reports dimensions, and flags content that needs export review.
  • GLB export restores original materials before serialization, preserves loaded animation clips, and only clears the unsaved marker if no edits happened while export was running.
  • Loading another model restores temporary viewport shading before disposing the previous model.
  • Workspace panel geometry and selected workspace view persist locally; editor preferences are stored locally.
  • Viewport helper geometry and materials are explicitly disposed during workspace teardown.
  • Windows updater bundle includes the viewer and every module imported by it.
  • Added docs/P1_BENCHMARKS.md with hardware/model profiles, measurement rules, workflow benchmarks and a results template. It is a protocol, not a report of completed measurements.

Lighting and Pan

  • Ambient, key, fill and rim light controls; color, intensity, direction and lighting presets.
  • Add/remove configurable point, spot and directional lights.
  • Ground shadow enable/disable and strength control.
  • Pan mode moves the model while lights and ground shadow follow its bounds.
  • Reset Position returns the model root to its loaded position.

Validation status

The P1 implementation and code-review follow-ups are committed to this branch. No automated tests, browser checks, real-GLB export/reopen checks, performance measurements, or Windows installed-app verification have been run. Those are the remaining validation tasks. Do not treat this PR as release-ready until validation is complete.

@VeloraTech VeloraTech changed the title Build P1 command mode and orbit preview Implement P1 editor workspace, lighting and pan controls Nov 19, 2026
@VeloraTech
VeloraTech merged commit e92ca0e into main Nov 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant