Page 1 of 2

crash on mesh exporting

Posted: Sat May 19, 2007 10:56 am
by sth
It's me once again and once again I have problem with exporter...
I made small mesh in topmod (105k poly after smoothing) and I tried to export with OBJ option (fixed or non fixed mesh)
but I got this message:

Code: Select all

-- Error occurred in main_loop(); filename: C:\Program Files\Autodesk\3dsMax8\scripts\Maxigo\Maxigo.mse; position: 111161
--  Defined in encrypted script
--   called in btn_export.pressed(); filename: C:\Program Files\Autodesk\3dsMax8\scripts\Maxigo\Maxigo.mse; position: 140770
--  Defined in encrypted script
>> MAXScript Rollout Handler Exception: -- Type error: ShellLaunch [Path and Filename] [Parameters] requires String, got: undefined <<
i reduced the size of mesh to below 64k polys and wanted to try export 3DS, but exported files were probably broken causing indigo crash at the start of loading. Few times I tried changing several options, but i got strange errors i.e. message from indigo "material XYZ undefined", or made scene and mat igs without OBJ geometry (causing error)
I've got only working xml option which you know is slow and memory-expensive...

3dsmax8, indigo stable + maxigo 0.83
I have also increased max maxscript memory usage above 100-150mb (if it matters)

What do you think about it? :?

PS. Is it right to have all the time showed message "Geometry Exzport Recomended"?

Posted: Sat May 19, 2007 8:08 pm
by suvakas
Well.. i can't help without seeing the scene.
105k polys is totally reasonable amount even for XML to handle.
The message "Geometry Exsport Recommended" should mean, that Indigo uses previously exported geometry and not the current situation.
If you could upload the max scene, then i could take a look and see if i can find any bugs in exporter.

Posted: Sat May 19, 2007 9:01 pm
by sth
ok... this is one version of my file :)

http://download.yousendit.com/0170978A7B996AAB

I found that 3ds requires much lower number of polys and message "material ... undefined" as indigo start happens when i succesfully export 3ds mesh and then I try export obj
when I try export obj at first then I got maxscript error[/url]

Posted: Sun May 20, 2007 8:48 pm
by suvakas
Does this happen with every scene or just this one?

Posted: Sun May 20, 2007 9:34 pm
by sth
Previously I didn't try obj feature at all always exporting xml or sometimes 3ds (yes this time it was my mistake to try to export this size of mesh using 3ds files :lol: ).
I checked - no scene can be exported as OBJ :(
Also checked if it is not problem (as last time) of conflict maxigo with instaled plugins - probably not...

Posted: Sun May 20, 2007 9:45 pm
by suvakas
A strange thing is, that i got the same errors as you, but only once. I can't get them anymore no matter what i do. So this makes it a bit hard for me to find the bug.
Can you try to export into obj format using the previous Maxigo for 07?

Ps.
Also (yeah..i've noticed you max users are lazy 8) ) maybe someone else can also try to export into obj format using 0.8.3 version and report back if it works or not. Please?

Posted: Sun May 20, 2007 9:59 pm
by Kosmokrator
same here.....some times obj work for me...xml work every time...and 3ds gives an indigo fatal error when initializing the mesh......nice model tho....and material!!

Posted: Sun May 20, 2007 10:12 pm
by suvakas
Thanks for testing Kosmo!
Still can't find the bug though...
Exporting to obj works fine here..very strange. I think it is some directory path thing, but i'm not sure why or where 8) I'll keep searching.

Posted: Sun May 20, 2007 11:16 pm
by sth
Kosmokrator wrote:same here.....some times obj work for me...xml work every time...and 3ds gives an indigo fatal error when initializing the mesh......nice model tho....and material!!
I think 3ds export will crash :) - big meshes files are always damaged with export because of 3ds specification limits
It can be material "DragonMaterial" from mrCarnivore :wink:
http://www2.indigorenderer.com/joomla/f ... 83&start=0

suvakas wrote:Can you try to export into obj format using the previous Maxigo for 07?
Same message... :(

Posted: Mon May 21, 2007 12:58 am
by suvakas
ok. finally..a breakthrough 8)
I know how to produce that error message.
I will try to invent some fix for it.

Posted: Mon May 21, 2007 1:05 am
by Kosmokrator
please tell us more about this error?what cause it?

Posted: Mon May 21, 2007 1:50 am
by suvakas
It's a missing configuration file from 3ds max plugcfg directory.
Obj export works fine for the people who have that file there, but it doesn't work at all if the file is missing.
I will write a verification procedure, that will create the file automatically if it is missing.

Posted: Mon May 21, 2007 2:13 am
by Kosmokrator
ahaaaaa...thnx suv for your effort......
but never i have problems while exporting meshes with your exporter....especialy with 3ds format...why this happents only on this scene ??

Posted: Mon May 21, 2007 2:19 am
by suvakas
I use 3ds max internal exporter for both - 3ds and obj (xml exporter is done entirely by me)
3ds format doesn't need to have a configuration file while obj format does. Thats why 3ds and xml are working fine for everybody.

Posted: Mon May 21, 2007 2:24 am
by suvakas
Ok. Here is the fix. (i hope)
Unpack it and copy Maxigo.mse to your Scripts/Maxigo and overwrite the previous version.
Please test it and report back if it solves the problem or not.
If it does, then i will upload it as a next update for Maxigo.