These are chat archives for jeancharles-roger/matrixstudio

27th
Aug 2018
Pascal Ballet
@pascal-ballet
Aug 27 2018 14:30
uint x = get_global_id(0);
uint y = get_global_id(1);
uint z = get_global_id(2);
uint p = x + y*workSizeX + z*workSizeX*workSizeY;
if( MatNucleus[p] != 0 && MatRadius[p] > 1 ) {
        float r = (float)(MatRadius[ MatIdent[p] ]);
        MatNucleusFieldT1[p] = 1.0f * THRESHOLD * pow(1.1f, r*r) ;
}
Jean-Charles Roger
@jeancharles-roger
Aug 27 2018 15:55
Jolie publi 😉