Import Mesh with Vertex colors automatically into grasshopper

When I import a textured mesh by any method into grasshopper, there is apparently no vertex color data with the mesh. However, if I view a rendered version of the mesh in rhino, it renders the expected colors.

How do I automatically load a mesh from a folder directory, then access vertex color data within grasshopper?

Could you give it a try with ComputeVertecColors before you load the mesh to Grasshopper?

1 Like

ComputeVertexColors is a manual method that will get vertex color data into grasshopper.

However, I am looking to automatically open a folder in grasshopper and compute vertex colors in grasshopper.

Sure, you can give it a try with GhPython or C# loading this function within Rhino.Common
https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.mesh/createvertexcolorsfrombitmap