Forum

Author Topic: Tiled Orthographic Image Maps  (Read 2730 times)

Wez

  • Newbie
  • *
  • Posts: 9
    • View Profile
Tiled Orthographic Image Maps
« on: February 01, 2024, 05:01:02 AM »
Heya all.

I can't seem to find out how to achieve this but I feel it should be possible so maybe I'm just missing the way to create it.
I am trying to build a terrain in a game engine using Tiles. Each Tile needs to have the Diffuse, Normal, Height, AO maps for that tile. I can output 16 8k maps but the maps are only UV chunks. I've tried using the terrain as 2.5D thinking that would map everything as orthographic but that did not work. I tried DTM as well thinking that would do it but can't get the full set of maps out from that method.

Is there anyway to get either chunks of the maps or full orthographic images of the entire site?

Wez

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Tiled Orthographic Image Maps
« Reply #1 on: February 15, 2024, 09:34:15 AM »
Any guidance on this?
@Alexis?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15177
    • View Profile
Re: Tiled Orthographic Image Maps
« Reply #2 on: February 15, 2024, 02:53:33 PM »
Hello Wez,

If you have a single block mesh model and would like to get multi-page texture atlas where each page has a kind of orthophoto parametrization mode, then you likely need to perform such kind of parametrization in the external application and re-import the model back to Metashape for texturing using Keep UV method.

Alternative approach that I can suggest involves 2.1 version functionality: since you have already the DEM, you can generate the block model using DEM as a source with the block size that would give you approx 16 blocks, then build texture using Orthophoto mapping mode - in this case each block will have single texture page in orthophoto mode. Then you will be able to export all tiles of the block model as separate textured models or merge them to the single model, in this case merged model will have multi-page texture atlas.
I have tried this approach on some random rather small project and it worked, but you may check it on your side and see if it gives you acceptable results.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Wez

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Tiled Orthographic Image Maps
« Reply #3 on: February 19, 2024, 05:16:19 AM »
Thanks Alexey.

I had not thought about doing the UV mapping in another program. I wouldn't know how to split a model into 16 aligned grids but I'm sure it would be possible and is a good idea.

Your second recommendation sounds like the way to go however. I only found I could get 2 of the texture maps I believe but I shall try again. I might come back to you and ask further if I can't get all the maps output correctly.

Thanks again for your help

Wez