visulize sequence of point clouds
iamani opened this issue · 4 comments
Hi,
I have a sequence of point cloud. I tried pptk to visualize and interact with each cloud but independently (evoking a new viewer). I'm wondering if there's a way to update the current pptk viewer to plot the next point cloud?
Thanks.
@iamani From a previous issue, answered by @Merevoli-DatLuu. This answer helped me with what I wanted to do. I believe v.load()
is what you want (after updating points
of course).
Question:
Is there an API to plot a set of points in real time? Basically I guess I don't want to kill the viewer, but rather add a new set of points and swap the buffer
Answer:
You can invoke load() method instead.
Example:
points = [[1, 1, 1], [1, 1, 2]]
v = pptk.viewer(points)
points.append([1, 1, 3])
v.load(points)
Hi @kwsacca , thanks for sharing the solution for this task. I just wanted to ask is there any way if we also want the old points to remain along with updating the new points?