responsive interface with render 3D in separate thread

Started by
0 comments, last by user88 6 years, 12 months ago
Problem: User interface (based on WinForms) isn't responsive in .NET Desktop Application with its own Real-Time 3D Render (not full-screen) while it renders heavy frames in separated thread. Heavy frames means that overall FPS is less than 5. Reason is unknown but it is not a case when main Application thread waits too long for 3D rendering thread for synchronization. This issue exists even on multi-cor
Question: Does anybody know some tricks with configuration of multi-threading in .NET? Simply specifying of BelowNormal priority to rendering thread doesn't make situation better. Any other ideas how to solve this problem?
Advertisement
Considering that since Windows Vista both Direct3D and GDI+ draw using DirectX Runtime, it seems that 3D rendering thread overloads DirectX Runtime and GDI+ simply unable to do its tasks in time..
See Direct3D / GDI+ / DirectX Runtime structure here:

This topic is closed to new replies.

Advertisement