point cloud features #1370
-
Hey guys, I was pretty excited reading additional materials with performance tests of OpenVDB Points, so I decided to use it as point cloud format for rendering purposes, pretty much like Houdini Mantra does with .pc I see there are some high-level structures for PointIndexGrid for example ParticleAtlas, which I assume might be useful. But I don't see any similar high-level API for PointDataGrid (which is the default output format for Houdini) I want to implement a kind of search by distance, returning a pool of sorted points and corresponding attributes. Mainly random access. Ideally, from a file, without conversions. Any suggestions and advice would be helpful. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @somesanctus - there are currently no high level tools to achieve this for OpenVDB Points. The recently added PointRasterize tools do loop over neighbouring points based on search distances but are designed for transfering to numeric grids: openvdb/openvdb/openvdb/points/PointTransfer.h Lines 460 to 496 in 2561c25 You could use something similar for a trivial search but may find that you need something more custom depending on your access patterns. Ultimately you currently need to implement this yourself - API for this is on the roadmap but no eta at the moment. @danrbailey any thoughts? |
Beta Was this translation helpful? Give feedback.
Hey @somesanctus - there are currently no high level tools to achieve this for OpenVDB Points. The recently added PointRasterize tools do loop over neighbouring points based on search distances but are designed for transfering to numeric grids:
openvdb/openvdb/openvdb/points/PointTransfer.h
Lines 460 to 496 in 2561c25