Removing unwanted textured faces from a mesh
Blitz3D Forums/Blitz3D Programming/Removing unwanted textured faces from a mesh
| ||
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) |
| ||
Does this command help? |
| ||
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. |