iwer / GeotiffLandscape

Unreal Engine Plugin to support geotiff as landscape file format.
MIT License
66 stars 12 forks source link

Request #6

Closed mahoin12 closed 1 year ago

mahoin12 commented 1 year ago

Can you share a example project? Especially about runtime landscape generations i am interested very well can you help me?

iwer commented 1 year ago

This Plugin only works in Editor and not at runtime. As far as i am aware Unreal Landscapes can only be modified in Editor (maybe there are ways using Blueprint brushes?). However there are other possibilities like Procedural Meshes as used e.g. in https://github.com/midgen/cashgenUE. May this is closer to what you're looking for?

mahoin12 commented 1 year ago

Thank you. I am also aware about https://github.com/midgen/cashgenUE but i dont want use noisegenerator i want create my landscape from realworld data. I guess i need work hard.

iwer commented 1 year ago

I had a brief look into that but didn't manage to finish it. I tied using this https://docs.unrealengine.com/4.26/en-US/BlueprintAPI/Rendering/LandscapeImportHeightmapfromRend-/ but failed to get a reliable scaling for height and distance in the heightmap texture to rendertarget step.

mahoin12 commented 1 year ago

Be honest i am achieve creating runtime landscape using c++. I used https://docs.unrealengine.com/4.27/en-US/API/Plugins/ProceduralMeshComponent/UProceduralMeshComponent/CreateMeshSection/ to create own vertex but not work greatly. Thank you reply.