sprite ai
Check That a Sprite Highlight Follows the Silhouette After a Pose Change
A generated glow or highlight can be clipped properly on the first pose and leak into empty space on the next if the clip geometry belongs to the previous image. Test the silhouette as a changing input rather than qualifying a single preview frame.
Build two same-dimension sprites with deliberately different shapes, one narrow and one wide, surrounded by clear pixels. Attach an oversized highlight beneath the chosen clipping node. On the narrow pose, sample one included body pixel and two excluded margin pixels. Then swap to the wide pose. Pick a point that was previously outside but is now occupied; it should show the highlight. Swap back and confirm it becomes transparent again. A plain bounding rectangle could pass on the body and still draw over the margin.
The technical guide and test fixture records Qt Graphics View clipping child artwork to a parent shape in a single native fixture. In an animated system, update the relevant image and its clip definition together. If intentional bloom should extend beyond the character, keep that in a separately tested effect. This preserves the distinction between a body-confined highlight and visual treatment that is allowed outside the sprite.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.