Original Post
My graphic engine (by using ray tracing) is pretty slow all by itself, so I want to try to split it into other programs running at the same time (= distributed rendering). I once tried "system()" function in another program to start the engine, and it worked.
Unfortunately it only starts 1 program after another when I'm using this code (command in Windows):
Is there a possibility to run "MyGraphicEngine.exe" twice at the same time?
lg rumpfi88
Unfortunately it only starts 1 program after another when I'm using this code (command in Windows):
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
string cmd = "MyGraphicEngine.exe";
system(cmd.c_str());
system(cmd.c_str());
return 0;
}
Is there a possibility to run "MyGraphicEngine.exe" twice at the same time?
lg rumpfi88