I have created a sketchup importer.
I have imported all the faces and transformed it in triangles , then i transformed all to an unique coordinate system multiplying in a preprocessing phase all points for the world matrix and for his transform matrix , for have all in an homogeneous coord system.
at end i grouped all materials of the faces in some batch that are geometry that have the same material ,i do this because in sketchup i have all meshes divided in small faces and the call to the gpu otherwise would be too expensive.
Now i have minus meshes , because are grouped by material and i wish draw transparent objects.
Is possible in this scenario?
how if is possible?
is must sort the meshes ?