KitWallace / FO

4 stars 0 forks source link

modulation function to emboss pattern on surface #49

Open KitWallace opened 2 years ago

KitWallace commented 2 years ago

To emboss a message or profile on the surface .

to be able to sample a profile function at (x,y) points to get a displacement from the surface, causing the perimeter to be displaced normally by that amount.

KitWallace commented 2 years ago

if texture is represent as a grid of heights, then would need to do 2D interpolation in the grid - but 4 points are not coplaner, so solution is ambiguous (which triangle you choose) I suppose these two solutions could be averaged. So how to interpolate between three points in a right-angled triangle (and to find if a point is inside that triangle)

KitWallace commented 2 years ago

but how to create the grid in the first place? - lidar ascii files are in a suitable format - although this format is npo longer provided by Defra sinc GeoTiff files are used instaed - can be converted by QGIS

KitWallace commented 2 years ago

if all we want is a binary image, can we get that from an raster format image file ?