Hi all
I am applying lots of different textures and 3 point texture mappings to many different objects in an FLT. Sofar the different jpgs are applied, but the texture mappings are incorrect. Looking at the file in Creator, the texture mapping palette contains many many instances of the first mapping. There are no other mappings in the texture palette. Oh, and the first object’s mapping is correct - it seems that mapping is used for all the other objects. Even though I’m creating unique mappings and storing them in a list temporarily.
I think my problem is that mgUpdateTextureMapping fails. I call it after having done a mgSetAttList which applies a new jpg and the new texture mapping. I am unable to find out any more info on why it’s failing, does anyone here have any ideas? I may be doing something completely silly as well, am still quite new to the Openflight API
Also, the specific part of my script is buried inside nested functions and loops so it’s difficult to copy and paste my code. If necessary I can extract specific bits though and post it here
Thanks in advance for any help,
Ian