Anonymous - 2023-06-16

I want to map an image onto the surface of a Heightfield, I have messed around with the Fxy demo and I can get an image onto the heightfield, I just can't position it. By setting Material.Texture.Imge to the image I want, MappingMode to tmmObjectLinear and TextureWrap to twNone I can see the image in one quadrant of the heightfield., but I want the image to be stretched to fill the heightfield. I presume the MappingQ/S/R/TCoordinates will do that but that's just a guess, I really have no idea how. I have tried changing the MappingQ/S/R/TCoordinate values which certainly does something but I'm just stumbling around in the dark really.
Can someone point me in the right direction?