You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Hey! Thanks! But what's the function to update points?
I can create a viewer with point + rgb and get a reference to the viewer.
Viewer attributes can change color but not points, or am I missing
something? for a new one I need to call the viewer (create a new viewer)
... I check the functions:
--
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.
@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)
On 8 Jun 2021, at 10:26 PM, kwsacca ***@***.***> wrote:
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)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.
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?
Hi, this issue has been fixed in pptk-revived, a fork that I'm actively maintaining since development on this repository appears to have stalled.
You can install it with: pip install pptk-revived
It's a drop-in replacement — just import pptk works as before. I'm working through the open issues here one by one. Contributions and feedback are welcome!
Activity
iamani commentedon Jun 8, 2021
kwsacca commentedon Jun 8, 2021
@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 updatingpointsof course).Question:
Answer:
iamani commentedon Jun 8, 2021
ammaryasirnaich commentedon Dec 15, 2021
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?
nikste commentedon Mar 1, 2026
Hi, this issue has been fixed in pptk-revived, a fork that I'm actively maintaining since development on this repository appears to have stalled.
You can install it with:
pip install pptk-revivedIt's a drop-in replacement — just import pptk works as before. I'm working through the open issues here one by one. Contributions and feedback are welcome!