Dade wrote: Dade wrote:
I have read something interesting (during the night
) about how OpenCL memory objects really works. I'm going to put together a version that should work better, give me few mins.
Jens, can you give a try to the version attached to this message ? I changed the way OpenCL memory objects are used and context is allocated.
Dade, you are nearly done, you seem to got the culprit
I saw you did same as me removing the &event setting NULL, will try now to get the image in viewport back ( with cpu it works btw )EDIT: no luck with image, just to be clear, it behaves as all is rendered, more black=faster and such, just no image to be seen, maybe a wrong type used ?
The 70000k come from rendering mostly black image atm i think, but thats a great progress indeed, fantastic Dade
My frustration vanished
CPU gives now 9000k, from 1500k before ! All renderered with simple.scn.Edit2: hmm...cornell.scn gives 1500 on cpu but over 70000 on gpu too, it apears that i do render empty space here ( same speed as simple with gpu) so the empty viewer is explained by that i fear
Observation: i can do camera-actions and the little dot in the middle of the view is moving, so something must be in the scene/view, but again clueless what fails atm