I wasn't able to run the code but it seems you're not getting texture coords because you're copying them into integer variables - cu1, cv1 instead of cu1#, cv1# etc.
You don't need to bother with the W coords - they're not used. I know my demo does but I wrote that back when I didn't know what a W coord was. :)
Also, be careful using CopyMesh as it will attempt to combine surfaces where it can. i.e. CopyMesh may produce a mesh with fewer surfaces that the original.
You don't need to bother with the W coords - they're not used. I know my demo does but I wrote that back when I didn't know what a W coord was. :)
Also, be careful using CopyMesh as it will attempt to combine surfaces where it can. i.e. CopyMesh may produce a mesh with fewer surfaces that the original.