How to directly export an OBJ model from world coordinates

I want to insert points one by one in vtk by longitude and latitude coordinates of WGS84 and generate polygons, and then stretch this polygon into a three-dimensional model,and finally export to obj format for easy use.Hope to give me a detailed step suggestion.Thank you very much