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.
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.
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.
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.
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.