Check CrossDebug.v4p
I’m probably missing something obvious, but can’t seem to get this to work. Should be a compute version of Cross (3d). I’ve attached a zip with the files, if anyone can say what’s wrong please do.
this is the indexing part of the code:
uint colI = dtid.x % xBcount;
uint rowI = floor(dtid.x / xBcount) % xBcount;
uint pageI = floor(dtid.x / (xBcount*yBcount)) % zBcount;
Output[dtid.x](dtid.x) = float3( xB[colI](colI), yB[rowI](rowI), zB[pageI](pageI)) ;
it works for some spreadcounts, others get results like this:
https://vvvv.org/sites/default/files/imagecache/large/images/cross.JPG
Cross (3D Buffer).zip (15.5 kB)