Ok thanks, I can reproduce it with the old API, but if you checkout dev-heavy
, then it does not happen there.
It seems that sometimes fix it you have to comment out the lines involving Scope, no idea why:
#include <Scope.h>
...
Scope scope;
...
Scope.setup(...)
...
Scope.log(...)
...
There must be something broken somewhere, but I have no idea why.
Also, 128 samples per block seems to work for me.
Requires further investigation, but I don't have time now, sorry.
Meantime, you should switch to the latest Heavy API( I can tell from your render.cpp
files that you are still on the old one), which - again - works for me with your files (but without the custom renders).