Add 3D depth map viewer

This commit is contained in:
Fabien Castan 2018-01-30 17:57:32 +01:00
parent ad98d70bfe
commit 2dceec447d
3 changed files with 54 additions and 0 deletions

View file

@ -36,6 +36,11 @@ Item {
viewer3D.clearAbc()
viewer3D.abcSource = filepath
}
if(Filepath.extension(filepath) === ".exr")
{
// viewer3D.clearDepthMap()
viewer3D.depthMapSource = filepath
}
else
viewer3D.source = filepath
}