mhogg / pyoctree

Octree structure containing a 3D triangular mesh model
MIT License
86 stars 19 forks source link

Can I read las file? #25

Open ghost opened 6 years ago

ghost commented 6 years ago

I want to build octree for the point cloud that I have in las format.

mhogg commented 6 years ago

Hi, Currently pyoctree only does tri faces, not points, so the answer to your question is no. Cheers, Michael

themmes commented 6 years ago

@mhogg Would it be possible to adapt to use for points easily? (use case: empty space detection) If so could you provide some hints on where to start for a PR? (My cpp experience is very basic)

mhogg commented 6 years ago

Hi Tom,

Sorry for my late reply. To answer your question, it shouldn't be too hard to adapt. Its more about removing things rather than add more things. Points are also simpler than triangles because they exactly fit within a single octree node.

Just so I understand, how will you be using it? You say empty space detection; does this mean just returning branches that are populated / unpopulated, or do you use rays?

Cheers, Michael

On Mon, 2 Jul 2018 at 23:32 Tom Hemmes notifications@github.com wrote:

@mhogg https://github.com/mhogg Would it be possible to adapt to use for points easily? (use case: empty space detection) If so could you provide some hints on where to start for a PR? (My cpp experience is very basic)

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/mhogg/pyoctree/issues/25#issuecomment-401805206, or mute the thread https://github.com/notifications/unsubscribe-auth/ADdn-tfxwa4kM1zpt24QnxoALKH1d_enks5uCiDogaJpZM4UsDPL .