Easy way to generate colour-per-vertex models for input to Blender

by Bram   Last Updated May 15, 2019 21:13 PM

I procedurally generate 3D planet models that I would like to import into Blender.

I use colour per vertex rendering in my shaders (In practice, I use the same colour for all vertices of a face, but my vertex attributes include RGBA.)

I like generating wavefront .obj files, because the syntax is so easy. But wavefront obj does not let me specify colour per vertex, or colour per face. Instead, the entire object is coloured with a material from the material-library that accompanies the obj geometry file.

I've looked into collada .dae as well, but frankly, that seems like a very complex format, and it still seems to work with material libraries, like the .obj format does.

Is there an easy to generate 3d model format that lets me specify a colour per vert (or face) without material libraries, and can be imported into Blender?

Related Questions

Updated November 28, 2016 08:05 AM

Updated July 22, 2016 08:05 AM

Updated April 18, 2019 17:13 PM

Updated July 30, 2016 08:05 AM

Updated April 25, 2018 00:13 AM