Loking for a way to sample a 2d texture of arbitrary transformation into a 3d volume as kinda shown here.
I’ve been using this faked volume technique of stacked additive image planes, but as shown right, this has issues with camera orientation. Also, since the images I’ll be sampling will be more irregularly spaced than shown, the additive nature would result in hotspots.
What I’d like is to set 3d points in a volume from the sampled positions of each plane. This could be a texture3D - or more fun but maybe more complicated densities in a 3d fluid.
sampleTexture2DBox (gridspace) seems somehow the answer, but otherwise pretty stuck… having tried several permutations from various help patches.