strayrobots / 3d-annotation-tool

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

Colored mesh #16

Closed hietalajulius closed 3 years ago

hietalajulius commented 3 years ago

Alpha from u_color: Screenshot from 2021-04-29 10-58-31

Alpha from mesh: Screenshot from 2021-04-29 10-58-29

Here's a proposal for the colored mesh implementation, might be rough around the edges. Things to point out/address/agree:

hietalajulius commented 3 years ago

On my scene, it prints "No mesh vertex color data found", but the colors actually render just fine.

Ah yeah, that's most likely when loading the control arrow mesh 😅 Agreed that we should only catch the appropriate error there, maybe also that colors would be gotten for the integrated.ply and not others.

hietalajulius commented 3 years ago

Changed the vertex colors to be stored in a matrix vs vector and now checking for colors is explicit vs catching all errors :+1: