Custom loader for .pc.ply pointcloud

This commit is contained in:
Fabien Servant 2024-03-25 10:29:38 +01:00
parent 7a3babf5f0
commit f87ff95c78

View file

@ -46,6 +46,17 @@ import Utils 1.0
}
switch (Filepath.extension(source)) {
case ".ply":
if ((Filepath.extension(Filepath.removeExtension(source))) == ".pc")
{
if (Viewer3DSettings.supportSfmData)
component = sfmDataLoaderEntityComponent
}
else
{
component = sceneLoaderEntityComponent
}
break
case ".abc":
case ".json":
case ".sfm":