Tried it… seems to eat more CPU power for nothing.
I’ll try and dig into how to control a Panda simulation step from an external program.
All this should be tied one way or another to managing a round robin real time event wheel or some sort of stuff.
Well, Panda’s task system isn’t meant to be a real-time scheduler. But very few task systems are, really. If you really need real-time scheduling guarantees, you’ll have to provide that scheduler yourself, and call frame->do_frame() once per epoch within that system.
But for most needs, it’s usually sufficient to let Panda run the main loop, and simply add a task to call your DirectShow filter once per frame. Of course, your task will only get called once per frame, which will be every 1/60 sec if you are generating 60fps. You have to be sure your task can handle that kind of timing.