Does anyone know whether it is possible to show the color values from a .ply file with jit.gl.model?
I have a .ply model file here: http://www.arttech.nl/MeshedReconstruction.ply
When I open this file in MeshLab (http://meshlab.sourceforge.net/), I see the vertex colors as expected (see screenshot), but when I open this in the jit.gl.model help file and choose material_mode 2, I don’t see these colors. I guess that means that they don’t count as a material.
Any insights would be great :)
jit.gl.model does not support loading vertex color values.
however if you can load your color value data into a matrix, you can use gl.model matrixoutput with gl.mesh, and send in the color-matrix to gl.mesh.
I hadn’t thought of it that way, getting the color values into a matrix should be do-able ;)
C74 RSS Feed | © Copyright Cycling '74