cccc54c438
feat(editor): integrate TTF font into UiContext with draw_text helper
...
Add ttf_font field to UiContext with draw_text and ttf_text_width
helpers that use TTF when available, falling back to bitmap font.
Load system TTF font (arial/consola/malgun) in editor_demo on startup.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 14:14:05 +09:00
58bce839fe
feat(editor): add TtfFont unified interface with glyph caching
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 14:12:02 +09:00
94e7f6262e
feat(editor): add GlyphCache on-demand atlas manager
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 14:10:16 +09:00
3b0a65ed17
feat(editor): add glyph rasterizer with bezier flattening and scanline fill
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 14:09:58 +09:00
e008178316
feat(editor): add self-implemented TTF parser with cmap, glyf, hmtx support
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 14:07:52 +09:00
0857446d74
feat(editor): add AssetBrowser with directory navigation and UI panel
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 13:36:23 +09:00
65b86c293c
feat(editor): add inspector_panel with Transform, Tag, Parent editing
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:57:23 +09:00
7fbc88b86f
feat(editor): add hierarchy_panel with entity tree display and selection
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:55:18 +09:00
14fe532432
feat(editor): integrate 3D viewport into editor_demo
...
Render actual 3D geometry (cubes + ground plane) in the Viewport panel
using the existing mesh_shader.wgsl Blinn-Phong pipeline with orbit
camera controls (left-drag to orbit, middle-drag to pan, scroll to zoom).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:40:41 +09:00
9f42300109
feat(editor): add ViewportRenderer blit pipeline and shader
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:35:15 +09:00
6ef248f76d
feat(editor): add OrbitCamera with orbit, zoom, pan controls
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:33:10 +09:00
ae20590f6e
feat(editor): add ViewportTexture offscreen render target
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:31:28 +09:00
f7ef228b49
feat(editor): integrate docking into editor_demo
...
Add full-frame-cycle integration test to dock.rs (16 tests total) and
update editor_demo to use DockTree layout instead of a single panel.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:09:53 +09:00
1571aa5f97
feat(editor): add draw_chrome for tab bars and split lines
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 09:57:18 +09:00
36fedb48bf
feat(editor): add update method with tab click and resize handling
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 09:54:57 +09:00
a642f8ef7e
fix(editor): address code review issues in dock module
...
- debug_assert → assert for empty tabs invariant
- tabs.len() - 1 → saturating_sub(1) to prevent underflow
- Add #[allow(dead_code)] for scaffolded structs/constants
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 09:52:53 +09:00
14784c731c
feat(editor): add dock tree data model and layout algorithm
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 09:49:53 +09:00
63e59c0544
feat(editor): add text input, scroll panel, drag-and-drop widgets
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 07:32:55 +09:00
3897bb0510
fix(editor): improve button colors for visible hover/active feedback
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 15:51:12 +09:00
038398962e
fix(editor): replace placeholder font with real 8x12 ASCII bitmap glyphs
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 15:36:19 +09:00
dbaff58a3f
feat(editor): add UI renderer pipeline and shader
...
Add UiRenderer with wgpu render pipeline for 2D UI overlay rendering.
Includes WGSL shader with orthographic projection, alpha blending,
and R8Unorm font atlas sampling. Font pixel (0,0) set to white for
solid-color rect rendering via UV (0,0).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 15:21:18 +09:00
19db4dd390
feat(editor): add voltex_editor crate with IMGUI core (font, draw_list, widgets)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-25 15:10:53 +09:00