I got it working. Im using max7.5(sp1) and the Panda DirectX Exporter. Loaded into DBPro5.8. Initially the model would load but would not display.(I used the Statistic() command to tell me if the object loaded.) I embarked on a series of tests to figure what was happening, I tried so hard to be systematic about it but alas....
. I got lost in fixing so many things that I can't really tell if only one thing fixed it or a combination of things. I'll explain.
As a game model, to be used in a game beyond just testing, this thing is insane. It had so many things wrong with it and I got caught up with fixing those things (well the quick ones anyways
).
The most glaring thing is of the course the 50k polygons. But that aside, here's a quick list of things that may cause issues if used in a game.
1. Maxfile unit setup is in meters. The object scale is huge.Its about a km long.
2. The models position and rotation in relation to its axis and the world axis is offset/skewed by alot.
3. Model is split up to 40+ individual objects.
But then hey maybe you want to use it for some 3d multimedia thingy showcasing the apache or something and require the detail, or for some reason just want it all like that. So I focused on just doing all the things that I could think off to fix, to get it loaded. So here's what I did.
1. Changed materials. Some of the materials applied to the heli are meant for raytrace shaders. I removed all these and just applied a standard material. As for the translucent cockpit, I would just appply a texture with an alpha.
2. I applied a reset xform to all the objects. Some of the objects had inverted normals I just flipped them. The prop scaled down (probaly a non-uniform scale was used) so I scaled it backup.
After I had done this it would only display if it was exported as a static mesh but not as an animation. Note it was loading, just not visible.
3. Last step was, I selecte the fuselage and attached all the non-moving parts to make a single objects. So I had only 2 objects in the scene. The body and the rotating props. Exported, and viola! Apache64 with rotating blades.
I also noticed the animation had 200 frames with a keyframe on at each end rotating the blades about 1000 degrees. I cut it to 30 frames and set rotation to 720. Looks about the same.
Hope this helps.