mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
Custom loader for .pc.ply pointcloud
This commit is contained in:
parent
7a3babf5f0
commit
f87ff95c78
1 changed files with 11 additions and 0 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue