Open jimbok8 opened 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);
Ok great! I will have a look at it :)
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);