hi all ,
i think this can be done using jit.op , but i can't find how .
i am distorting a mesh , squeezing the z plane of a matrix .
i'ts fine i'm having fun , but , in the process , there are some voxels that aren't acting , and i would like them to disappear .
i'm drawing points .
i don't want to use textured alpha on these voxels (for the moment) .
i' d like to do the following :
"voxels that are in the z range "0. --> 0.4" get an added offset of 100 . Voxels above that z range stay the same"
the voxels in the range would go out far from the rendering area .
i don't want the voxels to be killed , as i want to keep the same dimensions of the matrix .
here is a simple patch that may illustrate my question .
i have put 2 panels so that it is a wonder to look at it .