Hi Eugen,
I have done very few geometry generator op so not sure I can really help
with that.
Here is my code look like for my evaluation issue :
function myOp_Update( ctxt, out, surfaceMesh ){
paramA= ctxt.Parameters("paramA").Value;
paramB= ctxt.Parameters("paramB").Value;
id = surfaceMesh.Value.EvaluationID;
ev = id + paramA + paramB;
// Process
if ( ctxt.UserData == null || ctxt.UserData[0] != ev ) {
// Do the heavy math
result = 1;
ctxt.UserData = [ ev, result ];
}
out.Value = ctxt.UserData[1];
}