Trajce,
The way I read it, they can't use materials to colour their object.
OSG's .OBJ reader supports vertex colours when written like this:
v -7.941349983215332 -11.136899948120117 -3.4483699798583984 1.0 0.0 0.0with the last three values here being the red, the green and the blue.
This works at least with the text version of .OBJ files. If the user has actually access to the .mtl file, your approach is fine. This vertex colour approach here is an alternative, although, as I understand, it's not totally supported by 3d graphics editors.
- Vaillancourt