joelgraff / freecad.trails

Trails is the Transportation Engineering workbench for FreeCAD
GNU Lesser General Public License v2.1
68 stars 12 forks source link

Wish: Drape image over surface #92

Open DutchSailor opened 2 years ago

DutchSailor commented 2 years ago

It would be awesome to drape an image over a surface. I'm working on a geotiff import. When we convert the geotiff to points --> surface and then drape an aerialphoto or topomap over it.... Like in Civil3D: https://knowledge.autodesk.com/support/civil-3d/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Civil3D-UserGuide/files/GUID-FF3BB40B-A763-4A61-B9F6-6768423686EA-htm.html

And Blender: https://blender.stackexchange.com/questions/13637/draping-2d-image-over-point-cloud-or-mesh

HakanSeven12 commented 2 years ago

Hmm. I never tried but maybe this can help: https://coin3d.github.io/Coin/html/classSoTexture3.html#details

And here how FreeCAD image WB works: https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Image/Gui/ViewProviderImagePlane.cpp

DutchSailor commented 2 years ago

Thanks! Will have a look at it.

HakanSeven12 commented 2 years ago

Can you send me a surface and aerialphoto of the place? Maybe I can take a look at this.

luzpaz commented 2 years ago

This is a feature that @microelly2 would probably be able to integrate since this was his niche. Too bad he's not around anymore.

HakanSeven12 commented 2 years ago

What happened to him?