PDA

View Full Version : Some Max Exporter Questions


Robert Bateman
10-25-2006, 06:26 PM
hi, i'm a bit of a newb with Max, so forgive me if these questions are a bit lame. Anyhow, I've been writing a Max Exporter, and so far have all the usual cameras, lights, skins, polys, nurbs, materials, bones & animation stuff coming out fine (I'm not using IGame, it's far too basic for my needs). So far so good, not got a problem with any of that. I have a pretty over the top Maya exporter/importer which handles 99% of things you can do in Maya. My next aim is to take as much data from Max as possible, and get it importing into Maya (I already have a skinned animated character coming in, but i really want to bring across *everything* including particles systems & helper objects).

So, things like - the creational parameters for geometry primitives; the more esoteric modifiers like bend's, wave's etc; dynamics fields, and so on and so forth.... However i'm having a few problems in the Max SDK.

1. I've managed to figure out the Class_ID's of most of the Max objects (via a test suite of all possible objects & modifier combinations, and then dumped all unknown class id's to a file until i was able to recognise all of them). However, I'm not able to find out what interfaces relate to those ID's - so knowing it's a teapot isn't that useful if you don't know what the teapot interface is to query it's data. Is there a list of the interfaces & their class id's somewhere (or, am i just not looking hard enough)? Up till now i've been doing "find in files" for the class id's hex numbers until i find some useful looking interface...

2. In Maya, for any node, if i don't know what the interface type is, i can still get access to all of it's attributes to export if needed. I've not found an eqivalent in Max? Is there a way to get hold of all attributes from a derived object without having to know it's interface? I can get hold of the user properties without any issue, but that's the only attr type stuff i've found..... ?

Erm, basically i think that's it. Either a solution for 1 or 2 would sort me out, 2 would be preferable.... but either should give me everything i need to know to finish this little project off ;) Thanks in Advance....

CGTalk Moderation
10-25-2006, 06:26 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.