Export with Gmax
Export with Gmax
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
Crucible of Stars
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.
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.
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
Crucible of Stars
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...
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
http://www.konekogames.com
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
Crucible of Stars