Lengkap

[C# Unity] Class (or function) of multithread and async to save Texture2D as jpg(or png) img each frame without affecting to the main loop (frame rate) of the game

Hi, I need the functionality of multithread and async to save Texture2D as jpg(or png) img each frame without affecting to the main loop (frame rate) of the at Unity, C# environment.

I do not want re-invent the wheel, so, someone have already done the same/ similar tasks are welcomed.

[Current code]

//////// the process of every frame in Unity

[login to view URL](savePath + "/[login to view URL]", [login to view URL](100));

or

[login to view URL](savePath + "/[login to view URL]", [login to view URL]());

[Requirements]

Unity 2019.4.7f1 (limited concretely)

--- I know some improvement about treating Texture2D later version of the Unity though,

they are not the target of this project.

Main game loop fps should not be affected.

Some delay to save img are allowed but too long is not allowed.

It's not restrict requirement (probably trade off with memory and CPU usage).

So please tell me your estimation (Cpu/Memory usage and delay) before hand.

Some Memory usage is allowed but 1GB - 2GB or such.

Tmp variable, object, byte[] texture2D etc. or thread/sub-process should be disposed property to avoid memory leak.

The Class(or function ) should receive save target pass(string) and texture2D as arguments.

No need to return value.

One images save sequence may endure 30fps of main frame and 600sec(5 min)

Image(and Texture) size is 4096x4096px (would be lager in the near future)

[FYI]

Current version of sync logic at my hard ware soft ware environment,

without saving(and EncodeToJPG,orEncodeToPng), fps is 20-30.

(CPU usage is 30% or such)

With [login to view URL](100)), it slow down to 6fps or such.

With [login to view URL](100)), it slow down to 3fps or such.

EncodeToJPG() or EncodeToPng() is the bottle neck.

Thanks in advance.

Kemahiran: Unity 3D, Pengaturcaraan C#, Pembangunan Permainan

Lihat lagi: class function, 2008 class function, call dll class function delphi, unity javascript function type, java crop resize software class function, class function create, add non class function display list contents, class function elevator, class function mysql, c unity, C# Unity, c# unity freelancer, c# graph class, c programming class, c programming class online, c programming find function, c# unity developer freelance, c# unity developer hire, c# unity programming, foro buscar programador c# unity

Tentang Majikan:
( 1 ulasan ) Osaka, Japan

ID Projek: #30980109

Dianugerahkan kepada:

Nazardev

********* Hello Tsutomu ************ As I am a Unity3D developer, I have done many projects using Unity3D. I've made many games in Unity, and I even made and published one on Steam. If you'd like to check it out, here Lagi

$252 USD dalam 5 hari
(0 Ulasan)
0.0

7 pekerja bebas membida secara purata $206 untuk pekerjaan ini

(53 Ulasan)
8.0
(10 Ulasan)
6.3
gamedev2492

Hello, Nice to meet you! I am Dan, having expertise in full-stack game development, and has five years of quality experience. I have previously done similar optimizations. Please review my portfolio and contact me if Lagi

$100 USD dalam 7 hari
(4 Ulasan)
3.7
tiamaevdmitrii

Hi, I am a good Unity and c# .net expert. I can help you to implement multi thread save logic. Hope to disucss more details. Regards.

$250 USD dalam sehari
(3 Ulasan)
3.5
shafinislam802

Hi, I have read your requirements and I think I am the best person for it. I can write code in DOTS witch is a must for multithreaded functions. Inbox me for other chat.

$200 USD dalam 3 hari
(1 Ulasan)
1.5
sharashkynkonst2

[login to view URL] you for your job posting:<** [C# Unity] Class (or function) of multithread and async to save Texture2D as jpg(or png) img each frame without affecting to the main loop (frame rate) of the game **> I have ri Lagi

$140 USD dalam 7 hari
(0 Ulasan)
0.0