strayrobots / 3d-annotation-tool

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

Preview #19

Closed kekeblom closed 3 years ago

kekeblom commented 3 years ago

A preview window in which to preview annotations for validation.

Usage: cmake .. -GNinja && ninja preview && ./preview <dataset>

hietalajulius commented 3 years ago

Looks like there might be some slight funk when resizing the window: ezgif com-gif-maker (35)

No resize: ezgif com-gif-maker (36)

But looks like the box stays in place very nicely! :fire:

kekeblom commented 3 years ago

The issue with resizing has to do with the fact that computing the projection matrix for rendering the bounding boxes takes into account the change in aspect ratio, but rendering the image stretches the texture.

Working on a fix.

kekeblom commented 3 years ago

Fixed 👍

hietalajulius commented 3 years ago

Fixed

Nice, works like a charm now! :fire: