* fix(engine): resolve resource stem and list available names in layer.add.image (#337)
Accept an unambiguous file stem in layer.add.image alongside the full resource name with extension. When the requested resource is not found, list the available resources or guide the user to resource.import.
* fix(engine): filter image lookup stems and hints to decoded images (#337)
* fix(engine): reject unparseable colour parameters with an error (#369)
When a colour parameter cannot be parsed, fail with an error describing the expected color format instead of silently falling back to defaults.
Update color_param to return an explicit error and propagate across commands that accept color values.
* fix(engine): validate f32 overflow, pre-parse state mutations, and keep UV pairs strict (#369)
* fix(flatpak): allow release checks and self-update helpers
* test: keep Flatpak permission parsing within strict Clippy rules
* chore: bump version to 0.6.1 for the Flatpak update fix
* fix(flatpak): honor the launcher version choices
Previously, if any object in an OBJ mesh lacked texture coordinates, all UVs across all objects were discarded and replaced with a full automatic unwrap.
Skip empty models without indices, preserve existing UVs on textured objects while assigning default UVs to untextured helper/sub-objects, and report a warning without forcing a full mesh unwrap.
Applying a material filled the model in tile by tile, and each apply made the
next one slower. Now:
- a big recomposite first draws a coarse look of every tile (sampled texels
repeated across blocks), then refines to the exact result;
- layers hidden behind an opaque layer are skipped (not when anchors or height
masks are involved);
- compositing and upload budgets adapt: larger when idle, smaller while the
user is interacting, and uploads reserve time for conversion;
- no coarse pass during a live stroke or with neighbourhood filters;
- blending at full weight returns the blended value exactly.
Tests: coarse-then-exact, hidden-layer culling gives identical pixels, coarse
pass covers every tile, no coarse pass while a stroke is live.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Orbiting in Rendering mode flashed a "Starting render" placeholder, got grainy
and stuttered once the GPU was busy. Now:
- the path tracer works at half size while the camera moves and keeps the last
picture on screen until the full-size one has a few samples (no placeholder);
- previous-size accumulation buffers are kept, so switching size does not
reallocate;
- the samples-per-frame controller uses a frame-time floor (1/75..1/30 s), cuts
only when a frame takes 1.75x the floor and regrows after 6 frames;
- texture loading counts as motion and texture take-in is throttled, so the
scene is not rebuilt every frame while materials load;
- environment lookups are cached.
Tests cover the controller, the held picture, size switching and the
quick-frames case.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>