# Looking for a compact file format for outputting 3D geometry with color support

I am looking for a file format to output some 3D geometry. In my case, it only needs to handle very simple shapes - uniformly spaced and sized cubes at points in space. So far I've ended up just representing them as triangles or quads depending on what I can use.

I've tried Binary STL format which is decently compact, but has no support for colors.

Wavefront Object format (OBJ) and the material library (MTL) work well for color support, but there is no binary version as far as I know - making it very bulky.

Is there a file format that:

• Is compact in size
• Has some way to support colors
• Can be opened by software like 3D Viewer, Paint 3D, or other common tools?

• @TylerShellberg Unfortunately, you might have to rely on common practice for that, in the case of colours likely uchar red... That's the disadvantage of an entirely felxible file format like that. Feb 27 '20 at 19:03