Page 1 of 1

XSI5.0 Exporter 1.06 high polygon problem

Posted: Wed Nov 23, 2005 5:57 pm
by vitaliyfx
Hi,Sinbad!
If I try to export something more than 60000 polygon-model from XSI5.0 then export process locked on near 4%. With low-polygonal meshes everything nice. I try to switch off options for generation info for shadows and normals, but export process bar again will lock on 4%. With other XSI exporters(obj,etc) with meshes above 1000000 polygons everything fine - all meshes converted to needed formats without problems.

After 50 minutes of export of 500 000 triangles mesh to OGRE's mesh again process bar at 4%.
My config: Pentium4@3GHz, 1GB RAM.

With Maya exporter it tooks near 2 minutes to export 500000 triangles mesh.
But its OGRE-exporter for Maya :(

Perfomance leaks?
I hope its not big problem to fix this issue for so talented team as OGRE Team.
Thanks for great engine!

Posted: Thu Nov 24, 2005 2:35 pm
by sinbad
I've noticed it takes a while to export larger models and have it on my list to look at when I get time. I perform quite a lot of mesh optimisation (welding vertices, sharing vertex data between submeshes) and accessing some properties in XSI is quite awkward (like multiple UV sets - it requires quite a lot of matching) which will definitely make it slower than a simple 'dump' export approach, but I admit it's slower than I'd like.

Will attempt to resolve it as soon as I can.

Posted: Thu Nov 24, 2005 5:47 pm
by vitaliyfx
Hi, Sinbad!
Thank You for hope! I'll be waiting for update like many other content creators of nextgen games:)

ps. sorry, for my ugly English(its not my native tongue).

Posted: Sat Nov 26, 2005 7:22 pm
by sinbad
I've just committed some optimisations to the export, to the extent that export time is now about 1 second per 1,000 polys - that's approximately 15x faster than before according to my measurements :) It was because I can accessing what I thought was a prebuilt reference in XSI in a regularly used loop, when in fact I think XSI was building it on demand. Moving that outwards, plus a few other small tweaks, makes a lot of difference. If you want to try it out, grab the 'v1-0' CVS branch.

[edit]In fact, I'm so confident this won't break anything, I'm going to release a new version of the exporter at 1.0.6a so people can benefit from this earlier rather than later.[/edit]

Posted: Wed Nov 30, 2005 6:32 pm
by vitaliyfx
Hi, Sinbad!
Thank You for new build of XSI exporter! 15x faster than last version - miracle of optimization :)