i creates a sketchup importer for webgl.
Now i have create an intermediary xml format that js can parse generated from a c++ importer with vertexes and material in xml:
<mesh n=1>
<position>0.12 0.13 0.22 ecc.. </position>
<normals>010 001 000 ecc...</normals>
<material>255 0 0</material>

<mesh n=2>
<position>2.2 2.13 2.22 ecc.. </position>
<normals>010 001 000 ecc...</normals>
<material>0 255 0</material>

I have two shader , with two id : 1 and 2
how i can create in js all the meshes and how i can visualize it?