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
There are two potential angles to adding more features in the visualization. For starters focus should be put on the web viewer and the SDL viewer should be ignored.
Do on the fly calculation in the viewer. This entails adding more shaders in the client and make the current GL program UI selectable. Not all interesting properties are on the fly calculatable, but for example z-coloring could be done this way.
The more interesting approach is to hand through more features via PLY. The start to this is pretty straightforward, but requires a few steps:
Support more properties when reading the PLY (add them in the match here. I can also envision a commandline option that will take a list of 'interesting' properties.
Add it to the Point struct. For generic properties, we'd require a HashMap or something similar here - which is quite expensive, but maybe acceptable. For starters we can just add common properties (maybe channel id, label?).
Make sure the NodeWriter writes it into the on-disk octree struct as a new set of files. Right now we have r123.pb containing meta information about the node like the number of points and the bounding box, r123.xyz for the geometry, and r123.rgb for the colors. We can add r123.<foo>, for example r123.label).
Change the reading part, i.e. the NodeIterator to understand these extra properties.
At this point, we need to ship this data to the client if desired. This is unfortunately a bit involved, since it requires some weird bit fiddling to deal with the idiosyncrasies of javascript.
The text was updated successfully, but these errors were encountered:
There are two potential angles to adding more features in the visualization. For starters focus should be put on the web viewer and the SDL viewer should be ignored.
Do on the fly calculation in the viewer. This entails adding more shaders in the client and make the current GL program UI selectable. Not all interesting properties are on the fly calculatable, but for example z-coloring could be done this way.
The more interesting approach is to hand through more features via PLY. The start to this is pretty straightforward, but requires a few steps:
r123.pb
containing meta information about the node like the number of points and the bounding box,r123.xyz
for the geometry, andr123.rgb
for the colors. We can addr123.<foo>
, for exampler123.label
).The text was updated successfully, but these errors were encountered: