Does Bokeh support 3d Point clouds (.las) or 3d mesh files such as .ply or .obj?

Hello,

I’m new to Bokeh and also rather new to programming on a whole, anyhow I’m investigating whether I can visualize a point cloud generated from photogrammetric means (drone imagery) using Bokeh’s ‘geo_source’ data format.

If so, how would I actually convert my .las file or .ply mesh into that geo_source format?

Any assistance or enlightenment is appreciated.

Thank you.

Chaplin

Hi,

Bokeh does not have any 3d capabilities built in. However, it is possible to create custom extensions to Bokeh, which can be useful for connecting any JS library to Python code. Here is a custom extension example that shows a 3d plot created in the browser by vis.js (but from normal bokeh-like code from a user perspective):

  https://bokeh.pydata.org/en/latest/docs/user_guide/extensions_gallery/wrapping.html

The vis.js library has a point cloud mode IIRC, so it's possible this example could be adapted directly to your needs. However, vis.js is fairly simplistic, so my guess is that realistically you'd want to wrap a more capable 3d plotting library if you want to go this route.

Thanks,

Bryan

···

On Dec 13, 2017, at 04:16, Chaplin Williams <[email protected]> wrote:

Hello,

I'm new to Bokeh and also rather new to programming on a whole, anyhow I'm investigating whether I can visualize a point cloud generated from photogrammetric means (drone imagery) using Bokeh's 'geo_source' data format.

If so, how would I actually convert my .las file or .ply mesh into that geo_source format?

Any assistance or enlightenment is appreciated.

Thank you.

Chaplin

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/f8efde7f-bff2-4ced-ac95-4c890c370bda%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.