Commit Graph

222 Commits

Author SHA1 Message Date
dan thompson
888ea312d4 Remove resource size when viewing platform preview textures for the moment.
#jira UE-212930
#rnx

[CL 33951895 by dan thompson in ue5-main branch]
2024-05-28 16:23:54 -04:00
charles bloom
f620100270 Texture Editor : don't make whole GUI flash to blank while texture is building
instead show "Compiling..." text in the preview pane, but the rest of the GUI remains functional

#jira UE-215195
#rb dan.thompson

[CL 33693664 by charles bloom in ue5-main branch]
2024-05-16 13:53:26 -04:00
dan thompson
9342981735 TextureEditor:
+ Add button to detect source alpha if unknown
+ Clarify "Has Alpha Channel" and move to next to Format.
+ Platform Preview is always visible and enables/disables based on properties.
#rb charles.bloom

[CL 33610034 by dan thompson in ue5-main branch]
2024-05-13 17:55:46 -04:00
charles bloom
eadb802025 Texture GetMaximumDimension nop/comments only
[CL 33374212 by charles bloom in ue5-main branch]
2024-05-01 12:02:52 -04:00
dan thompson
b770b07543 Fix crash due to race condition accessing stored log lines in texture editor viewer.
#rb fabian.giesen

[CL 33314221 by dan thompson in ue5-main branch]
2024-04-29 16:54:48 -04:00
fabian giesen
d38d99bc97 Fix 1-frame glitch in texture editor when changing mip level
[CL 33282145 by fabian giesen in ue5-main branch]
2024-04-26 18:08:37 -04:00
charles bloom
54f8d4fc84 TextureEditorToolkit : don't block on texture build in GUI exit if it's not necessary
#rb fabian.giesen

[CL 33215502 by charles bloom in ue5-main branch]
2024-04-24 18:10:12 -04:00
fabian giesen
6ad1e5f73a VolumeTexturePreview use SizeZ from actual texture
Not only is there no good reason to pass it in separately when SizeX/Y are taken from
the texture, the way it was computed didn't actually match the real SizeZ in case LOD
bias is clamped, which is very likely for volumes.

#rb charles.bloom
#jira UE-212939

[CL 33200820 by fabian giesen in ue5-main branch]
2024-04-24 11:29:27 -04:00
charles bloom
d2cfc85724 TextureEditorToolkit : fix bug that caused textures to be marked as modified any time you open the texture editor viewer
#rb fabian.giesen
[FYI] dan.thompson

[CL 33180468 by charles bloom in ue5-main branch]
2024-04-23 17:16:55 -04:00
dan thompson
fd8711bd9c Fix for IBuild error messages not completely getting shown in the texture editor viewer.
#rb fabian.giesen

[CL 33173663 by dan thompson in ue5-main branch]
2024-04-23 13:33:41 -04:00
charles bloom
9c26610fc3 TextureEditorToolkit : fix possible null deref for partially valid target platforms
[FYI] dan.thompson

[CL 33165912 by charles bloom in ue5-main branch]
2024-04-23 08:28:24 -04:00
fabian giesen
09de6e3288 Account for LOD bias when determining volume depth slice count in texture editor
#jira UE-212939

[CL 33148606 by fabian giesen in ue5-main branch]
2024-04-22 15:50:14 -04:00
charles bloom
40d82c6c92 TextureEditor : make sure to restore temporary editor properties in texture on exit
fix render targets
clean up identification of textures that should be recoded
#rb Dan.Thompson

[CL 33144004 by charles bloom in ue5-main branch]
2024-04-22 13:31:57 -04:00
dan thompson
0a6eb11037 Preview Platform Textures
-- Added Decode interface to texture formats to return to PC viewable formats.
-- Added Detile interface to return textures to linear layout for relevant platforms.
-- Reworked the IBuild "DDC2" texture build usage to be more straightforward for chaining multiple build steps (i.e. Encode -> Tile -> Detile -> Decode).
-- Added UI to the texture editor to select a target platform to view.
-- Fixed a bug with DDC2 and CPU Copy textures (they didn't work at all)
#rb Devin.Doucette, fabian.giesen, charles.bloom
#jira UE-149124

[CL 33116818 by dan thompson in ue5-main branch]
2024-04-19 16:57:52 -04:00
charles bloom
f01fd5b7e6 TextureEditorToolkit : fix CompressFinal bool not getting turned off if it was once turned on
[CL 33055642 by charles bloom in ue5-main branch]
2024-04-17 19:37:24 -04:00
charles bloom
00a58e6a86 TextureDerivedDataTask : FTextureSourceData : use UpdateChannelMinMaxFromIncomingTextureData so result is cached and code is not duplicated
also makes the LayerColorInfo thread safe

#rb Dan.Thompson

[CL 32707903 by charles bloom in ue5-main branch]
2024-04-03 15:28:56 -04:00
charles bloom
837e868b5e Texture UEDelta filter to replace PNG filter
Simple North/Up pixel filter
parallel, simd
removes slow call into ImageWrapper just to run the PNGz0 filter
UEDelta works for udim, cubes, all pixel formats, there are no limitations or corner cases
#jira UE-181911
#rb fabian.giesen

[CL 32654283 by charles bloom in ue5-main branch]
2024-04-01 18:31:48 -04:00
dan thompson
d14f84756f Fix waiting on async texture build in texture viewer.
#rb fabian.giesen

[CL 32523964 by dan thompson in ue5-main branch]
2024-03-26 17:33:59 -04:00
dan thompson
c70ef0cf23 Minor fixes for the in-viewer texture build error reporting.
#rb fabian.giesen

[CL 32452243 by dan thompson in ue5-main branch]
2024-03-22 17:43:16 -04:00
dan thompson
14f396d5f8 PVS fix for silly mistake
[CL 31079637 by dan thompson in ue5-main branch]
2024-01-31 23:19:09 -05:00
dan thompson
7651bad552 Make it clear when the user is viewing unencoded data due to a deferred encoding in the texture editor.
#jira UE-163522
#rb fabian.giesen

[CL 31064710 by dan thompson in ue5-main branch]
2024-01-31 16:33:07 -05:00
dan thompson
833f37ad1d Copy relevant warnings/errors to the texture editor window.
#jira UE-163524
#rb fabian.giesen

[CL 31029236 by dan thompson in ue5-main branch]
2024-01-30 18:55:57 -05:00
dan thompson
4b50d4927e Undoing backout - this was depending on the original issue, not an issue in and of itself. This does also correct a separate issue with the texture editor using the removed metadata information.
Removing texture build metadata due to ddc complexities. It will be added to the metadata system in the new build flow SoonTM. Additionally, the alpha information for the source mips is no longer necessary as that is computed elsewhere now.
#rb fabian.giesen
#jira UE-183750

[CL 30894760 by dan thompson in ue5-main branch]
2024-01-25 14:17:55 -05:00
charles bloom
86ee9ccc96 TextureEditorToolkit fix crash opening texture editor while texture is building
#rnx

[CL 30570236 by charles bloom in ue5-main branch]
2024-01-11 11:33:50 -05:00
charles bloom
995e627555 Remove some calls to FTextureCompilingManager::Get().FinishCompilation
use BlockOnAnyAsyncBuild instead
wrap Texture changes in PreEdit/PostEdit and don't manually call things like Modify and UpdateResource

#rnx

[CL 30332713 by charles bloom in ue5-main branch]
2023-12-14 17:09:25 -05:00