Forum

Author Topic: Sparse Cloud  (Read 4998 times)

benton

  • Newbie
  • *
  • Posts: 29
    • View Profile
Sparse Cloud
« on: September 14, 2017, 09:52:39 AM »
Hi,

How do I get this to use the sparse cloud and not the dense cloud;

Code: [Select]
chunk.buildModel(surface=PhotoScan.HeightField, source=PhotoScan.DenseCloudData, face_count=PhotoScan.MediumFaceCount, interpolation=PhotoScan.EnabledInterpolation)
Ben

Gall

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Sparse Cloud
« Reply #1 on: September 14, 2017, 10:51:33 AM »
The source argument of the buildModel() method can take the following values
Code: [Select]
PhotoScan.PointCloudData # Sparse cloud, default if there is no dense cloud
PhotoScan.DenseCloudData # Dense cloud, default if the dense cloud is available

So in your case, simply use PointCloudData instead of DenseCloudData.

benton

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Sparse Cloud
« Reply #2 on: September 15, 2017, 03:18:11 AM »
Great - Thank You for your assistance.