currently I'm working on a Plugin which allows you to import an OpenStreetMap map to generate a 3D V-Rep Scene. My 3D street objects, like houses and trees, are saved in an *.obj file and imported by the simImportMesh() function of the Regular API. If I do the import manually then colors are correctly defined. Using the Regular API all colors are set randomly and have to be changed manually like:
Code: Select all
simSetShapeColor(shapeHandle,"",sim_colorcomponent_ambient,grey);
Thank you and kind regards,
Sören