maxstupa.bsky.social
@maxstupa.bsky.social
Thanks a lot!
March 13, 2025 at 6:58 AM
The approach with dep file to track several files works well with the shaders or something with fixed file names. In case of (foo_0_r, foo_0_m, foo_0_t) (boo_5_r, boo_5_m, boo_5_t) where the common name of file set is dynamic, this will not work.
March 13, 2025 at 1:27 AM
Hey Jeremy, it looks like *.toml is not supported proposed Python-like slicing syntax. Speaking about this {Path[:-8]} Or I am doing something wrong. Log: Rule Swizzle Channels: Failed to parse OutputPaths[0] "{ Repo:Bin }{ Dir }{ File[:-2] }_compressed.ktx2"
March 13, 2025 at 12:43 AM
Let me test the "dep file" approach. I will let you know if this works. I expect it will, but just in case. Thanks for support!
March 11, 2025 at 3:54 PM
Nice approach with removing the last characters. Didn't expect that system allows it. Thanks!
March 11, 2025 at 3:51 PM
In the ideal case, it would be nice to have two features:
- Track several files for one rule.
- Be able to extract the postfix from the file name and use it for OutputPaths. For example "tex_r" postfix "_r". OutputPaths = "tex" + "_packed"
March 10, 2025 at 10:38 PM
Unfortunately, this approach ignores the changes that happened with tex_g, tex_b files. And the name of the output file is the same.
March 10, 2025 at 10:30 PM
Unfortunately, this approach ignores the changes that happened with tex_g, tex_b files. And the name of the output file is the same.
March 10, 2025 at 10:30 PM
Hey Jeremy, thanks for the quick response.
I find this work around.
Source files tex_r, tex_g, tex_b (single channel textures).
Output file has the same name as tex_r (rgb texture).
Channel packing and compression are done in the *.bat file.
March 10, 2025 at 10:30 PM
Hi Jeremy! I'm looking for a texture packing solution. My source textures: tex_roughness. tga, tex_ao. tga, and tex_displacement. tga. The idea is to make tex_packed.tga, with source files in the rgb channels. What is the best approach to making file name adjustments in your framework? Thanks!
March 9, 2025 at 7:47 PM