Decimating a Mesh in Agisoft PhotoScan

Back to overview

This is a “Quick Tip” post for beginner users of Agisoft PhotoScan.

Decimation is the process of reducing the number of faces used to represent something in digital 3D. You might hear faces referred to as triangles, quads, polygons or polys online.

As a quick example let’s take a quick look at this scan of a bust of Antonius by Daniel Pett from the British Museum. The British Museum lets you download almost all the 3D models from their Sketchfab profile so I was able to set up this demo scene using that data.

Take a look – as you can see there is only a small visual difference between the 1 million+ face model on the right and the 10,000 face model in the center. There is, however, a BIG difference in the mesh file sizes of these two models – the 10k face model is under 10% the file weight! I’ve also included a 1k face / 84kb model just to show how far you can take this technique. All models

Typically when processing 3D scan data (via photogrammetry or laser scanning etc.), the surface models you generate often have a very high number of faces – often in the region of millions, if not more. So what’s the problem with that? Surely more data equals a better representation of the subject being scanned?

In some sense this may be so but it depends a lot on what you are doing with the data. Hi poly models typically have a much larger file size and while this is great if you are running a simulation locally on some decent hardware, when it comes to sharing files online – as we are on Sketchfab – we should consider a few things if we want to share our work with as many people as possible across the planet.

By optimising our file size it means that more people around the world can download our 3D faster – not everyone is on super fast broadband or has an unlimited mobile data plan.

By optimising our files, our 3D models will run better on more devices – in classrooms, on mobile, embedded on social network sites.

Sketchfab does good work behind the scenes to automatically optimise 3D models for delivery across the web, but as content producers we can help too before uploading data.

So remember: to share 3D online, first users have to download your file – and while you might have super fast fibre at your work or home – other people might not be as blessed and could be using broadband or even dial up connections. If people are browsing on their mobile phone they may not be on 3g or 4g or 5g and may have limited data to spare downloading heavy media.

File size matters – I know I have skipped looking at something online because it was taking to long before!

About the author

Thomas Flynn

Community & Cultural Heritage Lead at Sketchfab.

Expert in 3D scanning, photogrammetry, online publishing & dissemination.


  • Danilo says:

    Just a simply question…how do you added file text on 3D? Photoscan too?

  • Hey Danilo, the text in the embed was created using Blender3d

  • Sanje_k says:

    It would be great if the decimation process could be supplemented with the option to convert the mesh to quads.

  • That would be nice! You could always drop a note on the PhotoScan feature requests forum:

    In the meantime there is always Instant Meshes:


  • rb says:

    Thanks for this. Really helpful. 🙂

  • Glad you found it useful!

    This should still work fine with the Metashape update, even though the default interface is slightly different.

  • Dan M says:

    I’m new to photogrammetry and am trying to process ~600 aerial images (a few buildings, mostly fields) using 78% overlap in Metashape. I have built the mesh from the dense point cloud and am trying to decimate it. It has 418207610 faces extracted, decimating mesh (417,847,321 -> 35,845,014). I have two and a half days in and it says it has 3 days left (roughly the originally estimate). This is on a machine with an i9, 32gb RAM, GTX-1080, and an SSD.

    I attempted to reduce the mesh to 100k faces on another machine and had similar ETA. I tried another tip of generating the mesh from the sparse point cloud. This processed quickly but resulted in what looked like ice cream on the sidewalk in the middle of July. Surely there’s some middle ground that I’m missing?

Leave a Reply

Your email address will not be published. Required fields are marked *

Related articles