vault backup: 2024-09-09 11:14:54

This commit is contained in:
BlueRose 2024-09-09 11:14:54 +08:00
parent 20c77226bb
commit aa42459f2b

View File

@ -9,7 +9,7 @@
4. [ ] 传动道具继续开发完善。
5. [ ] Sequence 播放VJ逻辑解决。
6. [ ] 曹老师切换LiveArea时RootMotion 问题。切换前需要换回enable RootMotion并在切换后再禁用
7. [ ] 所有手机APP部署一次FaceMask。
7. [x] 所有手机APP部署一次FaceMask。
8. [ ] P4触发器
1. [ ] https://www.perforce.com/manuals/p4sag/Content/P4SAG/scripting.triggers.variables.html
2. [ ] https://www.cnblogs.com/itech/archive/2011/08/17/2141310.html
@ -29,42 +29,4 @@
1. 使用触发器+脚本检查。
2. 人工检查。
3. ~~P4 Shelf协作方法测试。~~ 理论可行,但字节并没有使用这种方式。
4. 之后大活的实现方式。新建大地图,需要的场景手动移植到新的大地图。
```c++
/** Adds a render graph pass to copy a region from one texture to another. Uses RHICopyTexture under the hood.
* Formats of the two textures must match. The output and output texture regions be within the respective extents.
*/
RENDERCORE_API void AddCopyTexturePass(
FRDGBuilder& GraphBuilder,
FRDGTextureRef InputTexture,
FRDGTextureRef OutputTexture,
const FRHICopyTextureInfo& CopyInfo);
/** Simpler variant of the above function for 2D textures.
* @param InputPosition The pixel position within the input texture of the top-left corner of the box.
* @param OutputPosition The pixel position within the output texture of the top-left corner of the box.
* @param Size The size in pixels of the region to copy from input to output. If zero, the full extent of
* the input texture is copied.
*/
inline void AddCopyTexturePass(
FRDGBuilder& GraphBuilder,
FRDGTextureRef InputTexture,
FRDGTextureRef OutputTexture,
FIntPoint InputPosition = FIntPoint::ZeroValue,
FIntPoint OutputPosition = FIntPoint::ZeroValue,
FIntPoint Size = FIntPoint::ZeroValue)
{
FRHICopyTextureInfo CopyInfo;
CopyInfo.SourcePosition.X = InputPosition.X;
CopyInfo.SourcePosition.Y = InputPosition.Y;
CopyInfo.DestPosition.X = OutputPosition.X;
CopyInfo.DestPosition.Y = OutputPosition.Y;
if (Size != FIntPoint::ZeroValue)
{
CopyInfo.Size = FIntVector(Size.X, Size.Y, 1);
}
AddCopyTexturePass(GraphBuilder, InputTexture, OutputTexture, CopyInfo);
}
```
4. 之后大活的实现方式。新建大地图,需要的场景手动移植到新的大地图。