Hi, I have used a flat 3D texture to store 3D data containing a flow field.
Now I need to find a way to fetch the right values that I’ll need for trilinear interpolation. I have used an simple low res flow field for now to try. It has the following dimensions (xyz) = (32,32,20) and I have put this data in a Flat 3D texture of simensions 160(=325) * 128(324). So for every linear interpolation I need 8 values. The domain is wrap around.
I was wondering how my fetch algorithm should look like and wheter or not I should use a 1D lookup texture.