Commit Graph

36 Commits

Author SHA1 Message Date
robomerge
344b94db87 Move bounds copy functionality into UBoundsCopyComponent for reuse
#ROBOMERGE-SOURCE: CL 12911537 via CL 12911540 via CL 12911542
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12911543 by robomerge in Main branch]
2020-04-19 15:49:19 -04:00
josh gross
71a4703acc [Engine] - Add the possibility to arrange the slots top-to-bottom in the DynamicEntryBox and the WrapBox widgets instead of only supporting left-to-right.
#RNX
#rb [at]Ghislain.Theriault

#ROBOMERGE-OWNER: josh.gross
#ROBOMERGE-AUTHOR: maxime.vaillancourt
#ROBOMERGE-SOURCE: CL 12869792 via CL 12872658 via CL 12872659 via CL 12872660
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12872663 by josh gross in Main branch]
2020-04-16 17:02:30 -04:00
jeremy moore
66f3fcb592 Fix RVT being marked modified when it shouldn't be on building streaming mips
Fix incorrect asset name being shown in progress when building streaming mips
Fix RVT volume bounds actor not being set for actors outside of current package

#ROBOMERGE-SOURCE: CL 12800514 via CL 12800562 via CL 12800582 via CL 12800589
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12800599 by jeremy moore in Main branch]
2020-04-15 10:23:37 -04:00
jeremy moore
0a5f868949 Move streaming low mips data outside of URuntimeVirtualTexture and into a UVirtualTextureBuilder.
This requires URuntimeVirtualTextureComponents to be updated.
[FYI] Robert.Osborne

#ROBOMERGE-OWNER: jeremy.moore
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 12779685 via CL 12779836 via CL 12779838 via CL 12779841
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782289 by jeremy moore in Main branch]
2020-04-14 13:33:06 -04:00
jeremy moore
03526c1f0a Remove BMP export or URuntimeVirtualTexure
Replace it with BMP export of UVirtualTextureBuilder

#ROBOMERGE-SOURCE: CL 12766250 via CL 12766257 via CL 12766265 via CL 12766272
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v678-12743200)

[CL 12766283 by jeremy moore in Main branch]
2020-04-13 17:08:59 -04:00
jeremy moore
2be70611fb Add UVirtualTextureBuilder asset type for building virtual textures.
Initial use case is to move the runtime virtual texture low mips building out of specific runtime virtual texture code.

#ROBOMERGE-SOURCE: CL 12765051 via CL 12765067 via CL 12765074 via CL 12765082
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v678-12743200)

[CL 12765102 by jeremy moore in Main branch]
2020-04-13 16:35:02 -04:00
jeremy moore
4983a3aab6 Support a mixture of formats in runtime virtual texture layers when building streaming virtual textures for low mips.
This is needed for incoming world height + world normal formats.

#ROBOMERGE-SOURCE: CL 12657604 via CL 12657619 via CL 12657624
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12657630 by jeremy moore in Main branch]
2020-04-07 12:40:55 -04:00
jeremy moore
8d944d513c Runtime virtual texture world height packing now depends on the volume extents.
Fixes precision issues raised by a number of licensees (for example UDN558460).
#jira none
#rb none

#ROBOMERGE-SOURCE: CL 12237042 in //UE4/Release-4.25/... via CL 12237054
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v664-12234175)

[CL 12239488 by jeremy moore in Main branch]
2020-03-17 23:19:30 -04:00
jeremy moore
1af8de34d7 Add option on a URuntimeVirtualTextureComponent to enable/disable the use of streaming mips.
[FYI] Robert.Osborne


#ROBOMERGE-SOURCE: CL 11625612 via CL 11625619 via CL 11625620
#ROBOMERGE-BOT: (v656-11643781)

[CL 11803894 by jeremy moore in Main branch]
2020-03-01 00:31:44 -05:00
jeremy moore
3895afc8b1 Fix case where runtime virtual texture thumbnail generation crashes on package save.
#ROBOMERGE-SOURCE: CL 11218168 via CL 11218174 via CL 11218179
#ROBOMERGE-BOT: (v644-11213502)

[CL 11240891 by jeremy moore in Main branch]
2020-02-04 22:17:14 -05:00
jeremy moore
bf9b84ee5b Show dialog to save/checkout modified materials after the RVT Fix Material process is applied
[FYI] Robert.Osborne


#ROBOMERGE-SOURCE: CL 11200509 via CL 11200512 via CL 11200515
#ROBOMERGE-BOT: (v640-11091645)

[CL 11200517 by jeremy moore in Main branch]
2020-01-31 16:30:07 -05:00
jonathan bard
77b0d194c2 Added parameter to thumbnail renderers Draw function so that we can instruct them to clear the render target or not. This is for fixing thumbnails that render multiple sub-thumbnails to the same render target.
#rb bob.tellez


#ROBOMERGE-OWNER: jonathan.bard
#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-SOURCE: CL 11159778 via CL 11159790
#ROBOMERGE-BOT: (v640-11091645)

[CL 11160913 by jonathan bard in Main branch]
2020-01-29 10:59:27 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
jeremy moore
1744513472 Fix usage of non-UAV compatible formats that were breaking Windows7 build PCs
#ROBOMERGE-SOURCE: CL 9935415 via CL 9938097 via CL 9938158
#ROBOMERGE-BOT: (v558-9892490)

[CL 9938190 by jeremy moore in Main branch]
2019-10-31 16:06:30 -04:00
jeremy moore
55bb85a00d Support passing UAV of physical texture to RuntimeVirtualtexture::RenderPages
This will allow compressing direct to physical texture on platforms that support it
Some small RHI changes will have to be approved before turning on though


#ROBOMERGE-SOURCE: CL 9291051 via CL 9291054 via CL 9291057 via CL 9291060
#ROBOMERGE-BOT: (v452-9288972)

[CL 9291062 by jeremy moore in Main branch]
2019-09-29 17:29:22 -04:00
jeremy moore
85956ca3b0 Prepare for batched runtime virtual texture updates
#ROBOMERGE-SOURCE: CL 9289236 via CL 9290276 via CL 9290348 via CL 9290392
#ROBOMERGE-BOT: (v452-9288972)

[CL 9290546 by jeremy moore in Main branch]
2019-09-29 16:50:18 -04:00
jeremy moore
54e5f42aab Support for YCoCg encoding of the base color in runtime virtual textures
Gives much better quality result but encoding is slower and there is a 25% memory increase in the physical texture


#ROBOMERGE-SOURCE: CL 8997086 via CL 8997134 via CL 8997199
#ROBOMERGE-BOT: (v442-8990807)

[CL 8997226 by jeremy moore in Main branch]
2019-09-23 17:20:19 -04:00
jeremy moore
9c34822858 Added runtime virtual texture asset action "Fix Material Usage"
This fixes all dependent materials to match the selected runtime virtual texture asset material layout
Useful when changing  RVT layout in a big project


#ROBOMERGE-SOURCE: CL 8981461 via CL 8981465 via CL 8981471
#ROBOMERGE-BOT: (v441-8974111)

[CL 8981476 by jeremy moore in Main branch]
2019-09-23 13:48:03 -04:00
jeremy moore
3ba224ece8 Generate thumbnails for world height RVTs
#ROBOMERGE-SOURCE: CL 8967155 via CL 8967167 via CL 8967178
#ROBOMERGE-BOT: (v436-8951088)

[CL 8967183 by jeremy moore in Main branch]
2019-09-22 16:43:57 -04:00
jeremy moore
e8e81f7a6c Support baking RVT world height to streaming VT
#ROBOMERGE-SOURCE: CL 8966664 via CL 8966671 via CL 8966680
#ROBOMERGE-BOT: (v436-8951088)

[CL 8966685 by jeremy moore in Main branch]
2019-09-22 16:27:41 -04:00
jeremy moore
2e07d043ae Change RVT size to be defined by TileCount instead of directly by size
This makes it easier to limit according to maximum page table size
Supports backwards compatibility with old data


#ROBOMERGE-SOURCE: CL 8748264 via CL 8748435 via CL 8782413
#ROBOMERGE-BOT: (v422-8689730)

[CL 8790787 by jeremy moore in Main branch]
2019-09-17 20:34:11 -04:00
jeremy moore
6408410933 Make runtime virtual texture page clear before render optional
#ROBOMERGE-SOURCE: CL 8417719 via CL 8421383
#ROBOMERGE-BOT: (v404-8404397)

[CL 8421466 by jeremy moore in Main branch]
2019-09-03 10:52:02 -04:00
jeremy moore
420df6872a Test that scene is ready to render and that material proxies are up to date before drawing RVT thumbnail
Fixes check firing in RHIUpdateUniformBuffer()


#ROBOMERGE-SOURCE: CL 8405326 via CL 8405516
#ROBOMERGE-BOT: (v404-8404397)

[CL 8405520 by jeremy moore in Main branch]
2019-09-02 12:38:54 -04:00
jeremy moore
f759b1b066 Add missing pragma once
#jira UE-79248


#ROBOMERGE-SOURCE: CL 8211089 via CL 8212667
#ROBOMERGE-BOT: (v401-8057353)

[CL 8212688 by jeremy moore in Main branch]
2019-08-22 12:32:31 -04:00
jeremy moore
642ab643b6 Fix RuntimeVirtualTexture RemoveLowMips logic
Previously RemoveLowMips didn't work correctly with StreamLowMips
#rb none


#ROBOMERGE-SOURCE: CL 8164420 via CL 8176718
#ROBOMERGE-BOT: (v401-8057353)

[CL 8177036 by jeremy moore in Main branch]
2019-08-21 11:53:10 -04:00