cansik / pointcloud-processing

A point cloud visualisation and analysis library for Processing.
23 stars 7 forks source link

Basic Cloud Example fails to run on Windows - solved #3

Open jimbok8 opened 4 years ago

jimbok8 commented 4 years ago

Basic Cloud Example fails to run on Windows.

To get this to work I copied in the color attribute code from the PLY example, with all the colors set to white. This now works OK on Windows.

FloatAttribute colorAttribute = new FloatAttribute("color", 4);

pclBuffer.addAttribute(colorAttribute);

colorAttribute.set(i * colorAttribute.getElementSize(), 255, 255, 255, 1.0f);

cansik commented 4 years ago

Ok great! I will have a look at it :)