strayrobots / 3d-annotation-tool

A graphical user interface to annotate point clouds and 3D data.
MIT License
76 stars 8 forks source link

Camera translate #15

Closed hietalajulius closed 3 years ago

hietalajulius commented 3 years ago

Translates camera when holding down ctrl (cmd on mac? :D ). Also adds typedef uint8_t InputModifier which represent the input mods mangled from glfw values.

kekeblom commented 3 years ago

Slight bug as I drag the view, keypoints get deposited where the mouse is.

https://user-images.githubusercontent.com/1204635/116140896-45418280-a6d8-11eb-8caa-c7fa61d795ce.mp4

hietalajulius commented 3 years ago

Slight bug as I drag the view, keypoints get deposited where the mouse is.

keypoint_leak.mp4

Oops, nice catch! :D I can look into it tonight

hietalajulius commented 3 years ago

Slight bug as I drag the view, keypoints get deposited where the mouse is. keypoint_leak.mp4

Oops, nice catch! :D I can look into it tonight

Had a missing moved = true; in the mouse move handler :D