0
\$\begingroup\$

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

\$\endgroup\$
6
  • \$\begingroup\$ 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? \$\endgroup\$ Commented Apr 23, 2015 at 18:01
  • \$\begingroup\$ 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." \$\endgroup\$ Commented Apr 23, 2015 at 19:17
  • \$\begingroup\$ 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. \$\endgroup\$ Commented Apr 23, 2015 at 19:17
  • \$\begingroup\$ @stranger Could you define "quality data"? Is this for LOD? \$\endgroup\$ Commented Apr 24, 2015 at 4:24
  • \$\begingroup\$ @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. \$\endgroup\$ Commented Apr 24, 2015 at 14:14

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.