NewSurf=CreateSurface(Mesh)
then use addvertex(NewSurf,CoordX,Y,Z,U,V) and finally addtriangle
This work with loaded mesh !
To apply material to the surface Use Brushes functions => GetBrush, CreateBrush PaintSurface etc...
then use addvertex(NewSurf,CoordX,Y,Z,U,V) and finally addtriangle
This work with loaded mesh !
To apply material to the surface Use Brushes functions => GetBrush, CreateBrush PaintSurface etc...