SyntaxBomb - Indie Coders
Languages & Coding => Blitz Code Archives => 3D Graphics - Mesh => Topic started by: BlitzBot on June 29, 2017, 00:28:43
Title : MyPaintMesh
Author : FlameDuck
Posted : 1+ years ago
Description : The PaintMesh commands collapses all surface information. This function paints all the surfaces of a mesh individually, which means that surface information is retained.
Code :
Function MyPaintMesh(mesh,brush)
For i = 1 To CountSurfaces(mesh)
surfh=GetSurface(mesh,i)
PaintSurface surfh,brush
Next
End Function
Comments : none...