We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hi everyone , firstly i'm new with point cloud processing , and i've been working with kinect v2 processing from thomas sanchez lengeling from
the coding is already working , its just since im new with processing , i dont really know how to add the shader to invert the color . i wanted the background to be white while the point cloud is black , can anyone help me with this?
here's the coding
well this in the frag shader is setting the colour
which is white. making that black would just be
the shader uses a float from 0-1 rather than an int from 0-255. not sure which argument is the transparency hence the alternatives...
setting the background colour is line 61 of the pde. use 255 for white.
so (0, 0, 0, 1)...
just replace the current line in frag shader with the new one.