Ooops
May 26, 2020, 06:34:16 PM

Author Topic: [bb] MyPaintMesh by FlameDuck [ 1+ years ago ]  (Read 1136 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
[bb] MyPaintMesh by FlameDuck [ 1+ years ago ]
« on: June 29, 2017, 12:28:43 AM »
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 :
Code: BlitzBasic
  1. Function MyPaintMesh(mesh,brush)
  2.  
  3. For i = 1 To CountSurfaces(mesh)
  4.         surfh=GetSurface(mesh,i)
  5.         PaintSurface surfh,brush
  6. Next
  7.  
  8. End Function


Comments : none...

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal