6389 Commits
Author SHA1 Message Date
luboslenco 7054ab8bee paint: mesh delete fixes 2026-09-11 09:47:44 +02:00
luboslenco 647741ab9d paint: add delete unused button to textures tab 2026-09-11 09:45:47 +02:00
luboslenco 1ac0ab779b paint: update current script on console run 2026-09-10 22:05:13 +02:00
luboslenco d46aaeaa15 paint: scripts tab new button 2026-09-10 20:53:08 +02:00
luboslenco 2a7a953f54 paint: text to text node fixes 2026-09-10 20:47:05 +02:00
dajiaohuang 6ed1ef3c6b docs: fix three dead self-links in base/docs
All three pointed at paths that no longer exist, so they 404 on GitHub:

- `base/docs/amake.md` linked `ashader.c` at `tree/main/base/docs/ashader`,
  which is neither a file nor a directory. The doc is `ashader.md`, so the
  link needs `blob/` and the `.md` suffix.
- `base/docs/brute_pathtracer.md` linked the raytrace sources under
  `base/sources/`, but they live under `paint/sources/render/` now.

Verified by resolving every armory3d/armorpaint self-link in the tree's
markdown against the tracked file list: 3 of 8 were dead before, 0 of 8
after.
2026-09-10 19:45:47 +08:00
dajiaohuang 594b4b8e02 base: fix host path separators in embed define and embed.h
Building on Windows for Android produced invalid escapes in the
generated project files. Two host paths were emitted with raw
backslashes, and in both cases the normalisation was gated on the
target platform instead of the host:

- project.js: EMBED_H_PATH embedded os_cwd() verbatim, so the define
  reached the generated CMakeLists.txt as

    -DEMBED_H_PATH=\"D:\...\paint/build/embed.h\"

  The quotes were escaped but the path was not, so CMake rejected the
  backslash escapes with "Invalid character escape".

- make.js: the #embed directive written to build/embed.h kept host
  backslashes whenever the target was not windows, so \r and \c were
  read as escape sequences.

Both are now normalised to forward slashes on win32 hosts, matching the
existing idiom used throughout make.js. Windows accepts / in #include,
in #embed and in CMake paths, and the native Windows output is byte for
byte unchanged.

Fixes #2107
2026-09-10 19:39:23 +08:00
luboslenco 0a125e50bb base: make string_array_join faster 2026-09-09 21:25:12 +02:00
luboslenco 65c35b8e78 paint: minic fixes 2026-09-09 17:32:58 +02:00
luboslenco 808284743b libs: minic fixes 2026-09-09 17:32:10 +02:00
luboslenco 4366541052 fix: stage physics 2026-09-09 17:01:18 +02:00
luboslenco 3a643c040f paint: add codex to console models 2026-09-09 16:54:39 +02:00
luboslenco fd44589a3b fix: improve iron_exec_async on macos 2026-09-09 14:07:46 +02:00
luboslenco f244de1f4c fix: improve iron_exec_async on linux 2026-09-09 14:07:10 +02:00
baktubak 1e14e27edc Add viewport_save_texture_to_file and bind it for scripts
viewport_save_texture() PNG-encodes a captured viewport into
g_project->packed_assets and imports it into the Textures tab. That is the
right behaviour for the in-app screenshot, but it never touches the
filesystem, and a script has no binding that can read a packed asset back
out. So a plugin can capture the viewport and still have no way to look at
the result, or to hand it to anything outside the app.

This adds a variant that writes the PNG straight to a path with
iron_write_png (already used by export_texture_run) and registers it in
minic_api_list.h, so scripts get the same capability the UI already has.

Existing behaviour is untouched: viewport_save_texture is unchanged and the
new function is additive.

Built clean on Windows/x64 with ClangCL against this commit.
2026-09-09 03:03:43 -07:00
IMpossibleimpossible d2c0799b78 Fix macOS crash when ui_tr returns source buffer 2026-09-08 02:11:38 +01:00
luboslenco 906418acc6 fix: map length 2026-09-04 18:02:51 +02:00
luboslenco 1588a8e8c3 fix: super sample config apply 2026-09-04 18:02:38 +02:00
luboslenco 02d22114ef base: update raytrace shaders 2026-09-03 20:29:24 +02:00
luboslenco 51b7b3ed13 base: update raytrace shaders 2026-09-03 20:27:36 +02:00
luboslenco 66688e4eca base: raytrace fixes 2026-09-03 20:27:13 +02:00
luboslenco 5511c28881 fix: d3d12 raytrace output handling 2026-09-03 18:47:52 +02:00
luboslenco a8859e6252 minic: ptr type fixes 2026-09-03 18:42:03 +02:00
luboslenco 822382b0d7 paint: bump version 2026-09-03 15:41:51 +02:00
luboslenco baf9758e0b paint: bump version 26.09 2026-09-03 13:00:26 +02:00
luboslenco 470cfd704f paint: adjust experimental flag 2026-09-03 12:59:13 +02:00
luboslenco a93c449013 fix: redraw 2d view on texture change 2026-09-03 12:52:22 +02:00
luboslenco ff9317c3ca fix: vulkan texture flags 2026-09-03 12:49:41 +02:00
luboslenco e91d5e4e3a fix: iris upscale 2026-09-03 12:48:36 +02:00
luboslenco af73c05cb3 fix: stage layers 2026-09-02 13:04:47 +02:00
luboslenco 2a6a5f36d7 fix: sculpt init 2026-09-02 13:04:06 +02:00
luboslenco 2cf20a5eac fix: skip 2d paint on sculpt layers 2026-09-02 12:10:55 +02:00
luboslenco 06cebfdb11 fix: texture compress 2026-09-01 22:14:52 +02:00
luboslenco 78b83f9771 base: update raytrace shaders 2026-09-01 20:43:30 +02:00
luboslenco 977cdaa13a paint: expose path trace frames 2026-09-01 20:40:21 +02:00
luboslenco 3847e624b1 base: update raytrace shaders 2026-09-01 20:39:36 +02:00
luboslenco a3df73f110 fix: combo hover 2026-09-01 17:15:07 +02:00
luboslenco 25e993945c paint: legacy import fix 2026-09-01 16:20:36 +02:00
luboslenco 080ed53e1c paint: ensure udims are present 2026-09-01 13:45:50 +02:00
luboslenco 47f132c84d paint: fix pack_f32_i16 2026-09-01 10:27:13 +02:00
luboslenco 0eba925481 paint: fix reset envmap in path traced mode 2026-09-01 09:59:41 +02:00
luboslenco 8373a6c575 paint: tweak undo steps 2026-09-01 09:42:06 +02:00
luboslenco 63660b7b02 paint: bump version 2026-09-01 09:39:34 +02:00
luboslenco 7c278a8d67 paint: fix brush opacity texture + angle reject off 2026-09-01 09:37:30 +02:00
luboslenco 437451566c paint: mesh pass fixes 2026-08-27 17:48:26 +02:00
luboslenco 91af968a34 paint: enable ssao on android 2026-08-26 20:22:48 +02:00
luboslenco bcdf878db9 paint: timeline fixes 2026-08-26 16:37:47 +02:00
luboslenco b449ece1e3 paint: use less memory 2026-08-26 16:26:29 +02:00
luboslenco d7235b3646 base: use less memory 2026-08-26 16:14:12 +02:00
luboslenco da63c1d5bb paint: cursor picking fixes 2026-08-26 14:16:17 +02:00