I'm currently struggling with writing a plugin running simmulations, and I want to programmatically speed them up by setting number of simulation passes per rendering pass using function simSetSimulationPassesPerRenderingPass().
Here is a small part of my code:
Code: Select all
simInt aa = simInt(64);
simInt bb = simSetSimulationPassesPerRenderingPass( aa );
simInt cc = simGetSimulationPassesPerRenderingPass();
I was trying to put this code before calling simStartSimulation() and after it, with the same result.
Is it a bug or am I doing something wrong? :)