Assimp cannot load vertices color of PLY model
<p>I'm using the assimp3.0 on windows with OpenGL. I tried to load and display a ply model by following lines:</p>

<pre><code>Assimp::Importer importer;
const aiScene* scene = NULL;
scene = importer.ReadFile('filename', 0);
</code></pre>

<p>I built the vertex buffer with <code>scene-&gt;mMeshes[0]-&gt;mVertices</code> and color buffer with <code>scene-&gt;mMeshes[0]-&gt;mColors</code>
However, when I debug the code, only <code>scene-&gt;mMeshes[0]-&gt;mColors[0]</code> got the colors, <code>scene-&gt;mMeshes[0]-&gt;mColors[1]</code> and the following elements remains to be NULL
following is a short ply example I I wrote:</p>

<pre><code>ply
format ascii 1.0
comment VCGLIB generated
element vertex 3
property float x
property float y
property float z
property uchar red
property uchar green
property uchar blue
property uchar alpha
element face 1
property list uchar int vertex_indices
end_header
0.0 0.0 0.0 219 227 248 255
1.0 0.0 0.0 220 230 212 255
2.0 0.0 2.0 160 122 221 255
3 0 1 2
</code></pre>

<p>I'm currently wondering if it was caused by the wrong pFlags parameter of <code>importer.ReadFile(pFile,pFlags)</code>.</p>

<p>Can anyone help me figure out which part went wrong.</p>