Commit Graph
346 Commits
Author SHA1 Message Date
bflatastic 6dabe66324 Filter radii and height slopes follow each UV tile's own resolution
A UV tile with a lower resolution than its atlas block fills the block's
corner, so it has fewer texels per UV unit. Neighbourhood filters (blur,
sharpen, warps, bevel, glow, ...) and height-to-normal slopes used the block's
texel density for every tile, so such a tile blurred twice as wide and showed
twice as steep slopes in UV space.

TextureSet::block_scales gives each block's share; the compositor filters each
block at its tile's radius, texture export and the CPU path tracer scale the
slope by it, and the display packs it into the Extra texture's alpha for the
viewport and GPU path tracer shaders (parallax too).
2026-11-02 21:08:35 +07:00
BFlat e711f71b4d Merge pull request #157 from storytold/export/obj-mtl-followups
OBJ export follow-ups: companions named after the OBJ, implicit material, case-insensitive ids
2026-11-02 20:26:08 +07:00
bflatastic 41dcf2d4ef fix(export): render the implicit material's maps for OBJ only
GLB and USD export the material-less mesh as it is and drop those maps, so
rendering them only cost time.
2026-11-02 20:10:36 +07:00
bflatastic 15a06149d7 OBJ companions are named after the OBJ; the implicit material exports; ids are unique ignoring case 2026-11-02 19:43:54 +07:00
BFlat 1d689c8e0f Merge pull request #155 from storytold/meshmaps/uv-tile-images
UV-tiled sets take mesh maps from one image per tile
2026-11-02 19:43:20 +07:00
bflatastic 04af749194 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-02 19:28:51 +07:00
BFlat 426aeff80d Merge pull request #154 from storytold/export/obj-mtl
OBJ export writes an MTL material library with each material's maps
2026-11-02 19:28:19 +07:00
bflatastic a8b6042ddc Merge remote-tracking branch 'origin/main' into meshmaps/uv-tile-images 2026-11-02 19:07:20 +07:00
bflatastic c14e500298 Exported material ids and map names stay unique when names collide 2026-11-02 19:06:49 +07:00
BFlat 9622244e8d Merge pull request #150 from storytold/fix/slider-number-field
Slider number fields keep what is typed and change nothing when left unchanged
2026-11-02 18:57:52 +07:00
bflatastic 8dc6e533b7 UV-tiled sets take mesh maps from one image per tile 2026-11-02 18:57:37 +07:00
bflatastic 281b343c22 Merge remote-tracking branch 'origin/main' into export/obj-mtl 2026-11-02 18:46:47 +07:00
BFlat 79d4b0426c Merge pull request #152 from storytold/fill/directx-normal-image
Fill normal images can be marked DirectX
2026-11-02 18:46:38 +07:00
bflatastic 1a703ecfaf A typed value equal to the current one is no edit 2026-11-02 18:33:39 +07:00
bflatastic 7f793fbf3a normalFormat: reject non-strings and non-image sources; a format-only edit keeps the channel's state; re-cooks keep the mark 2026-11-02 18:29:48 +07:00
bflatastic 92e92ff779 OBJ export writes an MTL material library with each material's maps 2026-11-02 18:20:21 +07:00
bflatastic 366f52b888 Using a slider's track drops text typed in its number field 2026-11-02 18:08:07 +07:00
bflatastic fe02cd266d Fill normal images can be marked DirectX: their green flips where a normal channel samples them 2026-11-02 17:52:31 +07:00
bflatastic 9d192a1df1 Slider number fields keep what is typed and change nothing when left unchanged 2026-11-02 17:33:55 +07:00
BFlat b8acb3303b Merge pull request #146 from storytold/fix/142-live-sliders
Effect and fill sliders apply live while dragged, as one undo step
2026-11-02 17:19:46 +07:00
BFlat 403385e312 Merge pull request #132 from SteamSmith/feat/auto-rebake-skew
Auto-rebake: a changed skew map rebakes the map
2026-11-02 16:45:38 +07:00
BFlat 61637df84f Merge pull request #60 from SteamSmith/feat/bake-skew-correction
feat(bake): skew correction for high-poly transfer rays
2026-11-02 16:44:55 +07:00
BFlat e27eb8842f Merge pull request #136 from SteamSmith/feat/embed-colour-space
Export: record the chosen colour space in the files
2026-11-02 16:44:51 +07:00
bflatastic e828af5c35 Document sliders apply live while dragged, as one undo step 2026-11-02 16:28:51 +07:00
bflatastic 126aeb1356 Merge branch 'feat/bake-skew-correction' into feat/auto-rebake-skew
# Conflicts:
#	ROADMAP.md
#	crates/engine/tests/auto_rebake.rs
2026-11-02 16:23:25 +07:00
bflatastic 5acfba00e8 fix(bake): paint the skew map in place instead of copying it per stroke step; a temp folder per leaning_session 2026-11-02 16:21:41 +07:00
bflatastic 63b54f1cec fix(render): the GPU bake test's BakeRequest names the new skew field 2026-11-02 16:21:40 +07:00
bflatastic 7437962a3b refactor(bake): Prepared::correct takes the low-poly Surface instead of eight arguments 2026-11-02 16:21:40 +07:00
BFlat c2c5987bf2 Merge pull request #143 from storytold/fill/uv-transform
Fill projection: UV rotation and offset, sharpness, axis and offset
2026-11-02 16:12:24 +07:00
bflatastic 360d70fcef Merge remote-tracking branch 'origin/main' into feat/bake-skew-correction 2026-11-02 16:10:38 +07:00
bflatastic 59a30187b5 fix(export): use is_multiple_of in the ICC profile writer (clippy -D warnings) 2026-11-02 16:09:01 +07:00
bflatastic d3453cd1f8 Merge remote-tracking branch 'origin/main' into feat/embed-colour-space 2026-11-02 15:59:33 +07:00
bflatastic 8657bfdc31 Image fills take a projection's fields without naming it; docs wording
layer.add.image read the projection params only when `projection` was
given, so an offset or rotation alone was dropped. The features list no
longer promises a cylindrical offset.
2026-11-02 15:59:26 +07:00
BFlat 32c5bac404 Merge pull request #133 from justinjohn0306/paths/non-destructive-113
Make paths non-destructive with path sublayers (#113)
2026-11-02 15:56:10 +07:00
bflatastic 228d879a1d Fill channel image test: scroll the channel into view
The projection rows push the Roughness channel below the Properties
panel's edge, where a click on its menu button lands outside the panel.
The test scrolls the channel into view and waits for the scroll.
2026-11-02 15:40:00 +07:00
BFlat f2de0026e1 Merge pull request #135 from SteamSmith/fix/review-followups
Follow-ups for MaterialX export/import, Auto-rebake and colour space
2026-11-02 15:35:16 +07:00
BFlat cfc456a899 Merge pull request #141 from storytold/sets/normal-map-format
Texture Set Settings: the project's normal map format
2026-11-02 15:17:04 +07:00
bflatastic d577a7eae8 Merge remote-tracking branch 'origin/main' into fix/review-followups 2026-11-02 15:05:10 +07:00
bflatastic 74383d7625 Merge remote-tracking branch 'origin/main' into fill/uv-transform 2026-11-02 15:01:45 +07:00
bflatastic 19c761f62c Merge remote-tracking branch 'origin/main' into sets/normal-map-format 2026-11-02 14:54:01 +07:00
bflatastic 9faf90c702 Normal map format: fill images keep reading as OpenGL
Flipping every fill image on a normal channel in a DirectX project
would also flip the OpenGL maps MaterialX import puts there, and change
how existing DirectX projects look. Fill images read as before; the
setting covers mesh map images (converted when set, so the tooltip
says to set them again) and the export default.
2026-11-02 14:54:01 +07:00
bflatastic 643a085d8e Fill projection: UV rotation and offset, sharpness, axis and offset
A fill's properties showed only its projection and scale, and
layer.fill.projection rebuilt the projection from its params, so
changing the scale reset a rotation set before and no offset could be
set at all. The command now changes only the fields it is given
(scale, also per axis; rotation; offset; sharpness; axis) and keeps the
rest while the kind stays the same. Properties show the UV rotation and
offset, the tri-planar blend sharpness, and the axis and world offset
of planar and cylindrical projections.
2026-11-02 14:49:14 +07:00
Justin John 7c170d35c0 Merge remote-tracking branch 'fork/paths/non-destructive-113' into paths/non-destructive-113 2026-11-02 13:08:31 +05:30
Justin John ecf7b01720 Merge remote-tracking branch 'origin/main' into paths/non-destructive-113
# Conflicts:
#	crates/core/src/lib.rs
#	crates/ui-egui/src/i18n/ar.rs
#	crates/ui-egui/src/i18n/de.rs
#	crates/ui-egui/src/i18n/es.rs
#	crates/ui-egui/src/i18n/fr.rs
#	crates/ui-egui/src/i18n/it.rs
#	crates/ui-egui/src/i18n/ja.rs
#	crates/ui-egui/src/i18n/ko.rs
#	crates/ui-egui/src/i18n/pt_br.rs
#	crates/ui-egui/src/i18n/zh_hans.rs
2026-11-02 13:08:31 +05:30
BFlat 19da5379d7 Merge pull request #131 from storytold/feat/cross-app-materials
MaterialCraft materials: .mcmat fills with live graph inputs
2026-11-02 14:36:20 +07:00
bflatastic c38b95ff38 Merge remote-tracking branch 'origin/main' into fix/review-followups 2026-11-02 14:34:13 +07:00
bflatastic 62229b41d4 Merge remote-tracking branch 'origin/main' into sets/normal-map-format 2026-11-02 14:30:54 +07:00
BFlat cad425c249 Merge pull request #139 from storytold/settings/data-folder
Settings: a data folder on any drive
2026-11-02 14:30:40 +07:00
BFlat fbbc42fa8f Merge pull request #137 from storytold/fix/fill-channel-image
Fill layers: put an image on any channel
2026-11-02 14:30:21 +07:00
bflatastic dd750cb3f6 Normal map format: in Texture Set Settings, and fill images follow it
The project's normal map format (OpenGL or DirectX) could only be set
by command or a template, and fill images on a normal channel were
always read as OpenGL, so a DirectX map's detail came out inverted.
Texture Set Settings now has a Normal map format row, and a fill's
image on a normal channel is read in that format, as mesh map images
already were. A change of format recomposites the sets.
2026-11-02 14:29:38 +07:00