Can someone refresh me on indexing surfaces please

Blitz3D Forums/Blitz3D Programming/Can someone refresh me on indexing surfaces please

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You only have to identify the surfaces. Once you got them, you can use paintsurface with individually created brushes.

To gather all settings of a surface (to be able to reuse settings like Brushalpha, Blendmode or FX aso. and not to force some sort of default settings whenever the texture is replaced) the blitz3d command set alone is not enough, you gotta hack some values. You probably best take the B3D exporter code that I used to release (the latest one), it uses several tricks to find out as much as possible about the surfaces of a mesh, including texture flags etc. Instead of simply saving a mesh you may of course alter the settings, textures etc. before you save it. Note dds ist't really supported since you cannot access the texturebuffer of dds.