Export with Gmax

Discussion about everything. New games, 3d math, development tips...
Post Reply
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Export with Gmax

Post by Electron »

Anyone know a way to export from gnax with textures? The obj exporter (on vermeers site http://users.skynet.be/fa201614/irrlicht/index.htm) works fine, but doesn't create materials. I was trying to mod it to write an mtl file out to the MAXScript listener but I was using multimaterials, and I've never really used MAXScript before and once I'd gotten the Material from a node I couldn't figure out how to typecast it to a MultiMaterial so I could get the sub materials and then get the maps from each. Anyone either know a better exporter (format doesn't matter as long as something suitable for levels) or know how to retrieve texture map names from a MultiMaterial in MAXScript?
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

you could try exporting to md3 first (which loads textures properly) and then import that md3 into Milkshape,blender, ac3d or unwrap3d and finally export to obj from one of those packages.

it's a weird workaround but it works. So in the end you use Gmax's strengths for modeling, export to md3 and then convert to get into Irrlicht.
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

I seem to remember Vermeer telling me that something about the way .md3 stored uv data was bad for levels, but I could be misremembering. I'll give it a try, thanks.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

I didn't know you wanted it for levels. I thought you were talking about character models. If it's for levels, Vermeer is right. Let me see if I fing another better exporting option for your geometry; otherwise it's obj, but the exporter is a bit tricky to use.
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

Alvaro, tell him about that yafray exporter. The xml should be easy to parse for him...I guess, like any gi render export script, has cool support for materials.Imho that could be a good deal, even just to guess how they make it and maybe add to the gmax obj exporter (maybe then share with irrlicht comunuity).But the yafray export script (there were several flavours) i was seing it exported lopads of things.curiously, one does export multimaterials and the othe don't, so check ur pms (it doesnt hurt XD) as I sent u the url of one u didnt know....

md3 can't have shared uvs, it will break mesh in thos vertices.

also, the gmax md3 expoirter is compliant with format limits: no more than 8,000 tris...quite unconvinient go merging outside, do conversions, etc. good deal for characters,though, if hide the uv seams.but there's a better md5.just no loader yet.

i cant think of nother option for gmax levels...
Finally making games again!
http://www.konekogames.com
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

There's a blender md5 loader right? Is md5 ok for levels? If both of those are true, then I could export as md5 from gmax, load into blender, and export as .x or something from Blender.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
Post Reply