The texture#s is one i got off the net somewhere along time ago, i think from a dot3 c++ example but not sure tbh, I dont have any texture generating code that complex, have some simple ones and a perlin noise in BB but havent looked to convert them to bmax at all.