I need to texture a surface (z=f(x,y)) with texels from a 3D volume, extracted at (x,y,z). I.e. I want the surface to show the
values of the volume at the position of the surface.
The volume is huge, so hardware 3D texturing is not an option. I need several tiled textures.
My problem is: How do I efficiently store and use the resulting texture(s)?
Keep in mind that very little memory should be wasted, and that the surface can be partly very steep and partly very flat, and that as few intersected voxels as possible should be lost.
I have a few ideas of my own, but I’d like to fish for some others first.