Render each frame in different cores.

General discussion regarding the OpenMW project.
For technical support, please use the Support subforum.
Post Reply
ajira2
Posts: 55
Joined: 30 Oct 2017, 14:27

Render each frame in different cores.

Post by ajira2 »

I had an idea.

How about detecting the number of cores of the CPU in engine.cpp and processing each call to frame() in a different core to improve the performance?

It's a good idea? Or isn't possible because dependencies between frames?

I will try to compile the code, I'm starting with it. Noob.

Image
User avatar
Deltaxus
Posts: 39
Joined: 12 Aug 2017, 17:43

Re: Render each frame in different cores.

Post by Deltaxus »

Rendering is done in the graphics processing unit. Software Rendering (rendering in the CPU) is not widely used due to performance drawbacks, CPU's are simply not designed for this kind of data processing.
ajira2
Posts: 55
Joined: 30 Oct 2017, 14:27

Re: Render each frame in different cores.

Post by ajira2 »

Ohh of course, i see. My mistake. Thanks.
What areas could be threaded to speed up? Physics, sound, ai?
kuyondo
Posts: 243
Joined: 29 Mar 2016, 17:45

Re: Render each frame in different cores.

Post by kuyondo »

Im no dev or pro, but i think AI or physics should have some attention.
Post Reply