Files
OrcaSlicer/tests
ExPikaPaka edcf865191 Use finer interleave ratios, and fold a mirrored tile at its seam
Two changes to how many colours a texture can reach, and whether they are the
right ones.

A mix alternates its two filaments over a cycle of at most six layers, which
also caps how many distinct mixes exist: eleven ratios per pair of filaments.
Raised to ten, which gives 33 and so lets a gradient be stepped more finely.
Measured on four filaments: a green-to-red gradient goes from 11 usable mixes to
16, and the shipped Colour Bricks from 6 to 10.

Separately, the bilinear neighbour was wrapped for every tiling method. Repeat
does start again at the opposite edge, but a mirrored tile folds back on itself,
so there the texel past the edge is the edge again. Wrapping blended the image's
two opposite edges at every mirrored seam: on a black-to-white ramp the bright
edge sampled as 0.008 instead of 0.988. It also disagreed with the preview,
which binds GL_MIRRORED_REPEAT and folds - so a bake could not match what the
viewport showed.
2026-10-15 08:42:44 +02:00
..
2025-12-08 22:42:11 +08:00

OrcaSlicer tests

Building, running and writing tests is documented on the wiki, under How to Test.

Two files here rather than there, because coding agents only read what is in the repository:

  • AGENTS.md is the same guidance in short form, and is what an agent working under tests/ picks up.
  • CATCH2.md is the Catch2 reference, including the mistakes that break a test at runtime.