cad-editor/src/modules/home
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 4312b6c3a5 feat: raster image render pipeline (IMAGE command + GPU textured quad)
- Add IMAGE / IMAGEATTACH / IM command with async file-picker (rfd)
- src/scene/image_model.rs: ImageModel with RGBA pixel data + quad corners
- src/scene/pipeline/image_gpu.rs: ImageGpu with wgpu texture, sampler, opacity uniform
- src/scene/pipeline/mod.rs: image render pipeline (pass 2, between hatches and meshes)
- src/scene/render.rs: include images in Primitive, call upload_images in prepare
- src/scene/mod.rs: images HashMap, populate_images_from_document, cache on add_entity
- src/modules/home/draw/raster_image.rs: ImageCommand (two-click: origin + width, aspect-correct preview)
- src/io/mod.rs: pick_image_file() async helper (file dialog + dimension decode)
- app: ImagePick / ImagePickResult messages, populate on file open and undo/redo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 23:19:08 +03:00
..
clipboard Co-locate CadCommand impls with their ribbon toolbar modules 2026-03-22 23:21:29 +03:00
draw feat: raster image render pipeline (IMAGE command + GPU textured quad) 2026-04-06 23:19:08 +03:00
groups Co-locate CadCommand impls with their ribbon toolbar modules 2026-03-22 23:21:29 +03:00
inquiry feat: raster image render pipeline (IMAGE command + GPU textured quad) 2026-04-06 23:19:08 +03:00
layers Co-locate CadCommand impls with their ribbon toolbar modules 2026-03-22 23:21:29 +03:00
modify feat: raster image render pipeline (IMAGE command + GPU textured quad) 2026-04-06 23:19:08 +03:00
properties Co-locate CadCommand impls with their ribbon toolbar modules 2026-03-22 23:21:29 +03:00
defaults.rs first commit 2026-03-22 14:56:27 +03:00
donate.rs first commit 2026-03-22 14:56:27 +03:00
mod.rs Feat: DIST / ID / AREA inquiry commands 2026-04-02 23:36:53 +03:00
select.rs Co-locate CadCommand impls with their ribbon toolbar modules 2026-03-22 23:21:29 +03:00