# Specify Vertex Quality in OBJ File

I've got a program that prints OBJ files in the format

# x y z r g b format opens with MeshLab only (http://meshlab.sourceforge.net/)
v xVal yVal zVal rVal gVal bVal
v xVal yVal zVal rVal gVal bVal
v xVal yVal zVal rVal gVal bVal
v xVal yVal zVal rVal gVal bVal
.....


And I'd like to start including "quality" data as well. I'm having a hard time finding an example that shows the correct way to format an OBJ file with quality data, does anyone have one they can share with me?

Thank you

• That's not even a proper OBJ format, that's a similar-looking file format. See en.wikipedia.org/wiki/Wavefront_.obj_file for original OBJ specifications. What file format are you /really/ working with? Apr 23 '15 at 18:01
• I believe that it is proper OBJ format. Looking at the Wikipedia page that you reference, it appears that the basic standard does not include RGB values as mine does, but in the discussion under "Geometric Vertex" it says "Some applications support vertex colors, by putting red, green and blue values after x y and z." Apr 23 '15 at 19:17
• And if I'm not using OBJ file format, I sure don't know what I am using. But I'm calling them .obj and Meshlab ingests them properly. Apr 23 '15 at 19:17
• @stranger Could you define "quality data"? Is this for LOD? Apr 24 '15 at 4:24
• @VaughanHilts I'm not sure what LOD is. I'm working with a 3D scanner, so I get a point cloud, but not all of the points are accurate. There are a few ways I can make a guess as to the accuracy of a given point, and I would like to use the quality parameter as a sort of confidence index. Apr 24 '15 at 14:14