Skip to content

WhimTex 0.12.5

Choose a tag to compare

@DCFApixels DCFApixels released this 03 Oct 13:21

Changes since WhimTex 0.12.0.

Added

  • TIFF output has an sRGB/Linear encoding switch. Switching preserves apparent colors and alpha; saving applies the chosen encoding. The Texture Importer's sRGB setting stays synchronized, and Float32 output remains Linear.

  • Drag selected layers between WhimTex windows to copy them with their settings, FX and original Drawing pixels, without removing the source layers.

  • Noise supports 3D slices for all six lattice types, with a Z Offset and seamless X/Y repetition through Fractal and Domain Warp. Noise Scale has independent, proportionally linkable X/Y axes; paired edge controls select seamless axes without blending the borders.

  • Noise offers Linear Data (default), Color Values and Gradient output; SDF offers Gradient (default) and Linear Data. Gradient output includes palette alpha and HDR colors, with Perceptual defaults for Noise and SDF palettes. Switching output preserves the palette; Inverted works before palette sampling.

  • Noise Warp Scale has independent, proportionally linkable X/Y multipliers of Noise Scale, including in 1D and 3D. Random All preserves linked proportions and chooses multipliers from 0.25 to 4; seamless warp fits whole cells to selected axes.

  • A unified Export window with format-specific settings and a separate final path selection. JSON defaults to Full Optimized and warns before omitting Drawing pixels; JPEG exposes quality, and EXR exposes precision and lossless compression. Canceling path selection retains settings; errors leave the window open. Save As remains separate.

  • Failed or uncompiled Shader FX have warning markers in Layers and both FX headers. JSON retains broken source and parameters while skipping the effect; repeated identical failures are not logged again for the same effect instance. Successful Apply restores the effect. Optional JSON write mode survives reopening and ordinary saves without changing on one-off export.

  • Editable .json documents share one format with layer clipboard and agent serialization. Full, Full Optimized (default), and Compact writing modes; JSON Export, reopening, versioned defaults, explicit Drawing omission warnings, and GUID/Path asset recovery.

  • Agent API resize operation for Batch, Headless Live and Assistant, preserving normalized layer placement without flattening sources. Pixel-valued effect settings remain explicit.

  • Gradient Map has a Source Channel selector: Luminance (default), R, G, B or Alpha. The selected input drives the full RGBA gradient; source-alpha preservation is unchanged.

  • Shape layers have SDF-based Feather in canvas pixels, with Inside, Outside and Centered placement for fill and stroke. Zero preserves existing rendering; softened ellipses use contour distance for even falloff.

  • Hue, Saturation, Color and Luminosity blend modes for layers, groups and brushes, with matching PSD blend keys. Blend menus now separate basic, lightening, darkening, contrast, other and color modes with horizontal lines.

  • Noise 1D has a Seamless checkbox for repetition along its axis, including Fractal and Domain Warp, for all six lattice noise types. Its state is independent of 2D/3D edge selection; angled stripes need not tile at canvas edges. White/Blue Noise are unchanged.

  • Color picker Preview EV footer, matching the gradient editor: −10..10 display-only exposure for inspecting HDR values in the SDR preview, without changing color values or History.

  • The gradient editor has a History palette above gradient presets, without an add button. Choose a color key and apply a document-history color directly, including HDR; opacity keys remain unchanged. The palette shares swatches, channel display, reordering and drag-out removal with the color picker.

  • Color-picker Channels mode follows the originating main preview's RGBA mask for document colors. Color fields and swatches compare original and channel-adapted colors diagonally with one actual-alpha bar; ring, square and slider gradients adapt without changing numeric values or stored colors. Interface colors and the screen eyedropper magnifier remain unchanged.

  • The color picker's eyedropper displays a magnified pixel grid in place of the hue ring while sampling. Selection or cancellation restores the ring; ordinary sampling remains available when magnification is unsupported.

  • WhimTex Color Picker provides a hue ring with a central saturation/value square, gradient channel sliders, RGB/HSV, Hex, alpha, HDR switching and exposure. Original/new samples sit at the upper right; the compact History grid stores confirmed document colors with drag reordering and drag-out removal with a red warning outline. Range-restricted inputs lock HDR. Gradient keys no longer open Unity's internal picker through reflection.

  • Targeted effects (Outline, SDF, Normal Map, Blur, Sharpen and Make Seamless) offer All Below alongside Previous and Specific. It processes the visible lower stack in the current group, including opacity, blending and effects, with stack-aware caching and matching standalone previews. Existing defaults remain unchanged.

  • Hold the left mouse button on a preview channel and drag across R/G/B/A to apply the first button's new state to the others. Available independently in the main and mini previews; other controls are unaffected.

  • Agent discovery includes Make Seamless's Quilting quality and channel-matching enums. The API reference and clipboard schema cover all four methods, defaults, units and independent edge passes, with a complete procedural recipe.

  • Layer Settings has a bottom-docked, draggable layer preview, initially collapsed. Properties uses the same resizable preview with RGBA/RGB/Alpha viewing and a checkerboard, without mip selection or image overlays. Drag down to collapse; collapsed previews do not render. The redundant Properties Close button is removed.

  • Mirror's Poisson Correction has Automatic Radius, enabled by default: one quarter of Blend Width, minimum 0.5%. Disabling it restores the stored manual radius.

  • Make Seamless offers Offset Blend, Mirror, Screened Poisson and Patch Quilting. All methods update from their source without baking and share R/G/B/A processing switches; unchecked channels retain the input before layer FX and blending.

  • Offset Blend mixes shifted copies; Mirror mixes reflections selected with the square edge control. Both expose Blend Width, Transition Start (-100–95%), optional Contrast Compensation and independent global Poisson Correction. Negative Transition Start broadens the fade but can expose a seam without correction.

  • Screened Poisson and every Poisson Correction pass support All Edges, Top & Bottom and Left & Right through paired square selectors. Both pairs can be cleared to bypass the corresponding pass. Correction is global, can alter the interior/unselected edges and can exceed the color range.

  • Patch Quilting searches boundary strips and joins them along low-error cuts. Controls include paired edges, Patch Width, Feather (%), Draft/Normal/High Search Quality, Seed/Random, Linked/Independent channel matching, optional Contrast Compensation and independent Poisson Correction.

  • Along-Seam Search (0–25%, default 0) optionally displaces donor strips along the seam, tapering to zero at their ends without wrapping. It can stretch details and costs more to evaluate; zero preserves the original search.

Changed

  • Canvas now names the editable image area; Canvas View names the panel that displays it; Layer Preview names the separate layer result. Matching UI/source names and EN/RU/ZH guides are aligned while existing guide URLs, saved preferences and compatibility aliases remain available.

  • Artist guides are organized around practical results and controls, with Shader FX authoring details in a separate technical reference. JSON workflows and warnings are consistent across the localized guides and AI contracts.

  • Gradients use Rounded smoothing for both new and existing artwork, with smoother transitions into held colors and reduced opposing-chroma saturation in Perceptual mode. Key positions and midpoints are retained; Fixed remains stepped and ignores smoothing.

  • History and gradient Presets share foldout behavior and remember their expanded state between sessions.

  • Seamless 2D OpenSimplex2/2S fractals fit a separate period for each octave, allowing coarser detail below Scale 1 while retaining whole-cell steps.

  • JSON paste now preserves FX with compilation failures, matching document opening: warnings identify skipped effects, while source, parameter values and enabled state remain available for repair. Invalid document structure and dependencies still block insertion.

  • Layers now labels its shared-format clipboard export Copy as JSON. Browser-AI instructions and nine procedural recipes use the unified document contract; legacy input syntax and URL-image support are documented separately without removing compatibility.

  • JSON Export uses the plain .json extension; existing .whimtex.json files remain readable. Save As saves TIFF directly, without a format submenu; Ctrl+S still saves an opened JSON document in place.

  • JSON reading validates scalar/component types, declared enum names and finite numeric representation with field paths, while preserving native storage sentinels and stepped curve tangents. The generated schema matches these constraints. Agent status identifies JSON storage, failed opens report errors without a modal dialog, and regular validation returns JSON load warnings.

  • JSON document settings are optional. Opening uses versioned defaults; pasting inherits unspecified canvas axes without an unnecessary size prompt. Every export mode retains explicit source dimensions for predictable reuse.

  • JSON no longer writes a document/fragment discriminator: whole-document and selected-layer exports can both be opened or pasted. The operation determines how content is applied; an earlier export's string kind is ignored.

  • Replaced the internal agent texture library with 38 curated procedural JSON recipes and individual losslessly optimized PNG previews. A searchable manifest includes descriptions, tags, output color encoding and per-sample dimensions; data-map PNGs retain raw linear channels. Redundant TIFFs and the overview atlas are no longer bundled.

  • Noise Random All preserves the 1D Direction setting as well as Offset and Seamless.

  • Gradient Map FX now applies gradient alpha, multiplied by source alpha and blended by FX strength. Opaque gradients retain the previous appearance.

  • New brush-tip gradients now default to Perceptual, matching brush tint, agent settings/strokes and brush clipboard import without an explicit mode. Existing gradients and explicit modes are preserved; Pattern defaults remain Linear.

  • History hides HDR colors while HDR is disabled in the color picker or selected gradient key, without removing saved colors. Re-enabling HDR restores them.

  • New general-purpose gradients default to Perceptual, including FX, API input and clipboard gradients without an explicit mode. Saved and explicitly assigned modes remain unchanged; Pattern Linear defaults are preserved.

  • The color picker remembers the last RGB 0–255, RGB 0–1 or HSV entry mode across openings and Unity restarts, without modifying the selected color.

  • Confirming a color already in History moves that exact RGBA color to the front without duplicating it, even when it was entered manually in the picker. Intermediate edits and canceled selections do not reorder history.

  • Hexadecimal has a separate right-aligned # prefix and accepts pasted RGB/RGBA in either case, with or without #. RGBA applies editable alpha while the field displays RGB only; RGB input preserves alpha.

  • Alt sampling synchronizes the open primary brush color picker in the same WhimTex window, including channels, Hex and markers. Other color pickers are unaffected; Escape and close-to-confirm retain their usual behavior.

  • Alt sampling and History share the eyedropper cursor, with a thin dark outline for visibility on light backgrounds and a preserved sampling hotspot.

  • History inserts new colors at the beginning and has a leading gray plus swatch to remember the current color without closing the picker. Selecting a stored color moves it to the first slot after the plus. Color swatches show an eyedropper cursor on hover; the plus keeps the arrow. Duplicate suppression and drag reordering/removal are preserved.

  • The color picker confirms the selection on closing, without OK/Cancel buttons. Escape still restores the opening color.

  • The color picker's hue ring and selection marker use direct shader rendering with antialiased edges, without an intermediate render texture.

  • Layer Settings and Properties mini previews use compact neutral R/G/B/A buttons instead of a channel dropdown, with independent combinations and the same channel display rules as the main preview. Mini-preview selection does not affect painting or the main preview.

  • Mini Preview reuses valid main-preview effect-cache results or captures a layer before compositing, including uncached procedural layers. A reduced independent render remains the fallback; groups retain their own color. The resizable block is capped at 256 px including its divider and keeps its chosen height across layer/resolution changes, scaling images proportionally in either direction.

  • Make Seamless settings distinguish main-pass edges from Poisson Edges, group patch search before blending/correction, and use contextual Strength (%) and Radius (%) labels. Inactive-pass controls and zero-Feather compensation are disabled without clearing their settings; edge selectors remain interactive.

  • New Make Seamless layers default to Offset Blend. Offset Blend and Mirror start with 20% Blend Width, -25% Transition Start and Poisson Correction on All Edges. All Offset copy edges and both Mirror reflection axes start enabled. Switching methods retains their independent settings.

  • Seam processing reuses bounded native workspaces, histogram tables, FFT plans and cached pre-correction results. Patch Quilting batches donor searches with Burst/NativeArray, reuses duplicate calculations and commits slider drags on release.

  • Ordinary preview is limited to 512 pixels and may choose different Quilting patches than export. Full-resolution Tiled preview is available with Pencil selected. Save and export use full resolution.

Fixed

  • A constant white brush Tint remains exactly neutral in every interpolation mode and color space; near-white tints still apply normally.

  • HLSL preset export and reimport preserve explicitly declared two-color Classic gradients. Shared SoftRange values are initialized through a compatible control instead of producing an out-of-range default; unrepresentable defaults report an export error.

  • Canvas View's footer adapts to the measured width of its controls instead of a fixed threshold, preventing overlap at intermediate and narrow window widths.

  • Fixed gradients with Mirror wrapping retain exact key-boundary behavior on the GPU, matching CPU evaluation without changing color tolerances.

  • Opening Properties without editing no longer falsely marks the document changed when normalizing supported field values.

  • JSON-backed document revisions now include current Drawing pixels. Agent JSON write honors save:false without creating or overwriting files. Shared-format clipboard paste preserves the destination output filter, including when adopting source canvas dimensions.

  • Documentation publishing no longer fails on the build guide's validation-report link; source checks reject relative links to unpublished repository files.

  • Detached agent edits restore embedded FX before copying a TIFF; rebuilding FX compilation caches no longer causes false document revision conflicts.

  • Noise Random All now samples the linked main Scale's X/Y average instead of X, preserving proportions without pushing asymmetric scales upward. The gentle preference near 8 is unchanged.

  • Document vector fields now accept smaller vectors with zero-filled remaining components, including older Noise Offset values. Integer vectors can also become floating-point vectors when every component remains exact. Saving uses the current field type and retains all components; narrowing and incompatible values still block saving to protect data.

  • Brush preview-header labels align vertically across ordinary fields, edge mode and Pressure; the gradient swatch matches the ordinary field height without overflowing the toolbar. Other gradient fields retain their existing sizing.

  • Channel-aware HDR color fields retain their intensity gradients in both diagonal halves instead of showing only a flat swatch and HDR label.

  • Closing or canceling a gradient key's color picker returns focus to the gradient editor instead of dismissing both windows.

  • Make Seamless API validation accepts exact documented decimal endpoints, including Blend Width 0.001, Patch Width 0.45 and Transition Start 0.95, without float-boundary rounding rejecting valid requests.

  • Layer Settings and Properties use the full settings viewport down to the Preview divider, without the extra bottom inset.

  • Make Seamless aligns field labels, channel switches and edge headings on a common grid; compensation strength no longer shifts sideways.

  • Deferred layer-thumbnail refresh safely skips a closed window or released document.

  • Paired edge selectors remain interactive and correctly highlighted when one pair is disabled; all pairs can be cleared.

  • Patch Quilting's Seed input fills the available width beside its label and Random button. Redundant Mirror direction dropdowns are removed; directions remain available on the square.

  • Narrow Quilting analysis bands retain percentage Feather through centered cuts. A one-pixel output band still has no room for feathering.

Upgrade notes

  • JSON does not store Drawing pixels. Keep TIFF originals for painted work; confirm JSON omission warnings only when empty Drawing placeholders are acceptable.
  • Rounded smoothing applies to existing gradients without a migration or automatic file rewrite and can change their appearance, especially around interior held colors. Review saved artwork before resaving or exporting.
  • Existing seamless 2D OpenSimplex2/2S fractal patterns can change after the per-octave period correction, including at Scale above 1. Other noise types and 3D are unchanged by that correction.
  • Existing asset GUIDs, serialized-name migration markers, saved preferences and deprecated public/protected aliases are retained during the Canvas rename. Custom integrations using renamed internal file paths or Hidden/TextureCompositor/PreviewChannels must use the current paths and Hidden/TextureCompositor/DisplayChannels; that hidden shader name has no compatibility alias.
  • Mirror layers without an Automatic Radius setting use automatic sizing; disable it to use their stored manual radius. No migration is performed.
  • No document migration or automatic rewrite is performed. Existing saved fields are retained; new-layer defaults do not reset existing layers.
  • Feather retains its stored field but now means 0–100% of each cut's available transition width, not pixels: an old value of 16 means 16%. Existing appearance can change.
  • The retired restricted Poisson edge solver/settings are not converted. Check previously authored Make Seamless layers, selected edge pairs and their exported results.