HOW do you remove a texture from an entity that you've applied with EntityTexture() ?!
I (obviously) never worked much with textures in Blitz, but always assumed that FreeTexture() would not only purge the image from memory but also from the entity itself. Which obivously ain't true. The image is purged, but the texture remains stuck to the entity.
I've got a (textured) 3ds model, to which I manually apply a 2nd texture (a spherical environment map to add fake reflection). So I can't rebuild the object's texturing from scratch...
And since I'm working on an editor, I want to be able to REMOVE that texture, replace it with a different one - or use different blend settings on it, check it out, OR decide to remove it completely, etc.
any ideas?! It must be something simple I'm missing here...
D.
I (obviously) never worked much with textures in Blitz, but always assumed that FreeTexture() would not only purge the image from memory but also from the entity itself. Which obivously ain't true. The image is purged, but the texture remains stuck to the entity.
I've got a (textured) 3ds model, to which I manually apply a 2nd texture (a spherical environment map to add fake reflection). So I can't rebuild the object's texturing from scratch...
And since I'm working on an editor, I want to be able to REMOVE that texture, replace it with a different one - or use different blend settings on it, check it out, OR decide to remove it completely, etc.
any ideas?! It must be something simple I'm missing here...
D.