Alpha 4: to make it run on OS X (otherwise the app will crash, both with GPU and CPU rendering) I had to do really minor things (but I have tried other things as well before):
ssao.cl
line 64: for (float r = 1.0f; r < quality; r += 1.0f)//add f to the second 1.0
limited_engine.cl
line 153: distThresh = max(1e-6f, distThresh);//add f
line 209: distThresh = max(1e-6f, distThresh);//add f
240: scan = 1e20f;//add f
fast engine:
99: distThresh = max(1e-6f, distThresh);//add f
151: distThresh = max(1e-6f, distThresh);//add f
178: float glow = count / 500.0f * consts->params.DEFactor;//add f
I am quite happy with the response. I have tried using alpha5 and the app keeps crashing (but I have already tried to fix all the floats, dunno where is the problem) and I don't know how to fix it at the moment. Could somebody have a look to it (but I am referring only to the 'engines' part) and check if the 'f' suffix is present for all the floats? It would great to have a corrected copy to see if it works then.
Maybe there's another quicker solution, but is there?