Using rgl’s extrude3d() function to make a 3D mesh from polygons in R
I’m trying to make a 3D OBJ file using R. My initial data is a Geopackage with multiple polygons. And I want to ‘extrude’ each polygon to make them 3d. The extrude amount should be determined by the value of an attribute of these polygons.