Removing unwanted textured faces from a mesh

Blitz3D Forums/Blitz3D Programming/Removing unwanted textured faces from a mesh

D4NM4N(Posted 2005) [#1]
Can I delete faces by texture, ie any face that has a 'Null.bmp' texture assifned to them? Im trying to find a way of 'cleaning up' cartogaphy shop b3ds, without having to delete them in CS (effects lightmapping)


_PJ_(Posted 2005) [#2]
Does this command help?


jfk EO-11110(Posted 2005) [#3]
You can also use the code that is used in the example "SaveB3D" in the Mesh section of the code archives. It tracks down the used texturenames. Then you would need to construct a copy of the Mesh while ignoring the surface (= all Tris that are using the unwanted texture) that was identified trough texturename tracking.
Maybe have a look on the example "ClusterizeMesh" to see how to clone a Mesh partially.