Community Blog

Texture delighting with Agisoft PhotoScan Professional

This tutorial illustrates how to delight texture automatically with PhotoScan Professional software. The tool is targeted at smoothing out light and dark sides of an object model in case of soft lighting in the original scene. Optionally ambient occlusion shadows can be removed too (ambient occlusion texture map required). Please note that delighting of strong shadows is not supported.

Applicability

Generally, removing shadows and recovering lighting-neutral color while preserving texture features is impossible - at least because of ambiguity between dark texture produced by shadows on surface and dark texture produced by dark regions of the surface. But in practice in many cases heuristics based on some assumptions can provide good results.

Texture delighting tool smooths out dark and light sides of object model and can additionally light up surface areas that were found to be too dark with respect to ambient occlusion map (original model by Francesco Fassi):

  • Original model
  • Delighted in single color mode
  • Delighted in single color mode with respect to ambient occlusion map

1. Open project with textured model

Firstly you should open project with textured model. Delighting tool works with imported textured models too.

If you want to delight external textured model - you can create empty project, add new chunk with button Add chunk on Workspace panel and then import textured mesh with Tools -> Import -> Import Mesh.

2. Duplicate model

To be able to compare delighted texture with the original one afterwards, you should preliminary duplicate the model and then delight only the second one. To duplicate the model, right click on 3D Model -> Duplicate... -> Yes

3. Remove lighting

Use Tools -> Mesh -> Remove Lighting...

  • Color mode: use Single color if the model is homogeneous (like marble statue or rock), and use Multi color if scene presents a combination of colors (like marble statue on black rock).
  • Presets: preset configures advanced parameters for some special cases. The only special case supported for now - Aggressive preset, it is adjusted for delighting of rocks, but still sometimes can lead to artifacts.
  • Ambient occlusion map: optionally you can load into PhotoScan ambient occlusion texture map and the tool will try to recover ambient occlusion dark areas on the model. You can read tutorial about ambient occlusion backing.

Delighting result (Single color mode, default preset, with ambient occlusion texture map):

Delighting result (Multi color mode, default preset, with ambient occlusion texture map):

Forum discussion

Discuss delighting tool and share your results on our forum!

Examples

The Dying Gaul (original model by Geoffrey Marchal):

  • Original model
  • Delighted in single color mode
  • Delighted in single color mode with ambient occlusion map

Rock delighted with aggressive preset (original model by Javier Garcia Lajara):

Sphinx delighted (by Thomas Flynn):