The module docs of the .studio3 writer described the application build and steps used to work out and check the format. They now state what the writer writes and which section it leaves out.
The per-corner tangent fallback normalized each face's UV gradient with
try_normalize, which squares the components. A finite gradient above
about 1e154 (large positions over a nearly degenerate UV triangle)
overflowed f64 there, so the face tangent became +X and the gradient
dropped out of the angle-weighted average at shared corners.
Both normalizations now divide by the largest component first.
When a map error first appeared on poll_reads' second pass and its
device-loss probe recorded a validation error, the call returned the map
error and left the other reads pending. A third pass now runs only when
a polling fault is recorded, and fails those reads in the same call.
The salvage path also reads the non-out-of-memory error flag again after
it sees a loss, before it copies mapped bytes.
docs/gpu-backends.md states when a mapped read returns its bytes after
the call detects a loss.
A tab, line feed or carriage return has a glyph record but no outline, like a
space, so its record no longer claims the path saved after it. Other whitespace
characters, such as U+1680 OGHAM SPACE MARK, can have outlines and keep them.
A triangle with a corner whose 1/w overflows f32 is projected in f64, while
its neighbors are projected from f32 clip coordinates. A corner on the edge
they share landed on screen points about 5e-6 px apart, so pixel centers in
between were covered twice or not at all.
The f64 projection now projects each corner that the f32 projection can
handle exactly as the f32 projection does. Only corners whose 1/w overflows,
or that were clipped in f64, keep the f64 division.
poll_reads skipped the rescan after a map error when the callback counter
had not changed since the scan. A callback stores its result before it
increments the counter, so a read that mapped during the scan was skipped
and then failed with DeviceLost. The counter is removed, and poll_reads
always collects mapped reads after a map error probe unless an error
disqualifies them.
Two tests encoded a TIFF without checking the `tiff` feature, so
`cargo test -p craft-image-codecs` failed in a build that leaves TIFF out:
`resolution_probe::tests::agrees_with_decode_for_encoded_files` and
`fidelity::float_to_exr_and_tiff_is_clean`. Both now skip the TIFF case
when the feature is off and still check their other formats.
When both corners of an edge lie equally far from a clip plane, crossing_f64 interpolated from whichever corner came first, so the two triangles sharing the edge could get crossings that differ in the last bit and leave a crack between them. A tie now starts from the corner that sorts first by its coordinates and weights.
Expose MXF package identity and material timing for component media. Keep readable descriptor fallback while withholding ambiguous identity, and preserve earlier project data through schema 21.
The work-limit test for the search under discarded pixels read a
process-wide counter that the shipped fallback path added to in test
builds, so any other test that renders discarded pixels in parallel
could change its count. try_render now calls a private render that
takes the counter as a test-only argument, and the test passes its own.
A space has a glyph record but no outline. When a text object ended with
a space and the next object was an ordinary path, the importer matched
the space's record to that path and reported the path as one of the
text's letters. A space's record no longer claims the outline after it.
WriteContour::from_path ended the current contour at ClosePath, and a
LineTo, QuadTo or CurveTo that followed without a MoveTo found no contour
and was skipped, so the written file lost those segments. Such a segment
now starts a new contour at the closed contour's first node, which is
where kurbo and SVG place the pen after a close.
map_material_uvs_with mapped each vertex once, with the centroid of the
first of the material's triangles that used it. A vertex on a tile
border under a piecewise map then took that triangle's tile for every
other triangle as well. Each corner is now mapped with its own
triangle's centroid, and a vertex whose corners map to different UVs
gets one copy per distinct result. map_material_uvs still calls its map
once per vertex and never splits.
TableMarks::web_shifted lets the host report which palette colors are
web-shifted. When it is set, the Color Table shows Shift to Web Palette
for colors that are not web-shifted and Unshift Colors for ones that
are; a mixed selection shows both, and Unshift sends only the
web-shifted colors, so a hand-picked color in the selection stays as it
is. A host that leaves it None keeps both buttons as before.
When the focused Shift or Unshift button goes away, focus moves to the
remaining web action, or to the Color Table menu. The dialog reads focus
through runtime::focus, presses through the pointer frame and keys
through the input hook's record.
This brings back #3855, reverted in #3886, without egui memory or raw
key reads in save_for_web/options.rs.
UvGBuffer::new binned every triangle of each submesh of the material, so a
triangle that two submeshes of one material list was rasterized twice and
counted as overlapping itself at every texel it covers. Each triangle is now
binned at its last listing only, so the later listing still wins where
distinct triangles overlap. Submesh ranges are clamped to the mesh's
triangle count.
compute_tangents and compute_tangents_split pass the UVs to MikkTSpace
and to the f64 fallback with v negated, as main did with 1 - v. glTF
UVs run v down the image, so without the flip the bitangent followed
increasing v and every unmirrored mesh got w = -1, which inverts the
green channel of glTF normal maps.
The tests expect w = +1 for unmirrored UVs again, preview_orb sets +1
again, and the primitive check counts mirrored tangents as before and
also checks that each bitangent points up the image. A new test checks
that a plain quad keeps w = +1 with both functions.