heremaps / pptk

The Point Processing Toolkit (pptk) is a Python package for visualizing and processing 2-d/3-d point clouds.
https://heremaps.github.io/pptk
MIT License
610 stars 112 forks source link

change camera position #35

Open pascalisfort opened 4 years ago

pascalisfort commented 4 years ago

Hi, I begining to use PPTK for point coud viewer.

But I need help: when I opening a new point cloud. I use this code to open xyz point cloud v = pptk.viewer(xyz)

Every thing works fine, but when I try to change the camera position v.set(lookat=(1.8, 8.3, 6.67) )

The camera is moving,but when I begining to use mouse to navigate, the camera position come back to the original position (same as when I open the point cloud)

Do you have an idea how to set camera position and staying there

Thank you Pascal

ramkam commented 3 years ago

Same if we use the (undocumented ;) ) load function

My intent was to use pptk to show kinect collected data, so lots of refreshes And eventually make icp registrations :-)

Stuff that could help:

Anyway, would be really nice if you fix it

Meanwwhile, i'm back to my axonometric view that i dirty coded with opencv :D

btw, from the docs the get roll yaw pitch is float 64 and the set if float 32 not really a problem, but makes it awkward