Render each frame in different cores.

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

Render each frame in different cores.

Post by ajira2 » 30 Oct 2017, 14:31

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: 38
Joined: 12 Aug 2017, 17:43

Re: Render each frame in different cores.

Post by Deltaxus » 30 Oct 2017, 16:16

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: 7
Joined: 30 Oct 2017, 14:27

Re: Render each frame in different cores.

Post by ajira2 » 30 Oct 2017, 16:23

Ohh of course, i see. My mistake. Thanks.
What areas could be threaded to speed up? Physics, sound, ai?

User avatar
kuyondo
Posts: 118
Joined: 29 Mar 2016, 17:45

Re: Render each frame in different cores.

Post by kuyondo » 30 Oct 2017, 17:56

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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests