Forum

Author Topic: exportModelTiles() documentation  (Read 2448 times)

peterahlstrom

  • Newbie
  • *
  • Posts: 4
    • View Profile
exportModelTiles() documentation
« on: May 15, 2015, 12:11:11 PM »
Hi!

I'm looking for documentation on the exportModelTiles method. Does it take more parameters than tile_size and pixel_size?

I would be much helped by the possibility to set parameters to control how the mesh and texture is built, for example surface type and UV mapping mode.

Best Regards
Peter

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: exportModelTiles() documentation
« Reply #1 on: May 15, 2015, 12:45:57 PM »
Hello Peter,

Using autocomplete functionality in Console pane (Ctrl+Space) you can find the description of each Python function:
Code: [Select]
exportModelTiles(path, [pixel_size], tile_size=256)

Export tiled model for the chunk.

:arg path: Path to output model.
:type path: string
:arg pixel_size: Target model resolution in meters.
:type pixel_size: float
:arg tile_size: Size of tiles in pixels.
:type tile_size: int
:return: Success of operation.
:rtype: boolean

For tiled model the surface is generated in Arbitrary mode with Generic texture mapping mode.
Best regards,
Alexey Pasumansky,
Agisoft LLC

peterahlstrom

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: exportModelTiles() documentation
« Reply #2 on: May 15, 2015, 02:18:35 PM »
Thanks for your answer, Alexey!
Do you have any plans for adding more functionality to exportModelTiles, or the possibility to create tiles from the mesh instead of the dense cloud?

Best Regards
Peter

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: exportModelTiles() documentation
« Reply #3 on: November 14, 2016, 08:01:30 PM »
Hello Peter,

Just getting back to this old thread. In the version 1.2 it is already possible to build tiled model either basing on dense cloud, or on mesh. It can be controlled in the .buildTiledModel() function by the "source" argument.
Best regards,
Alexey Pasumansky,
Agisoft LLC