XSI5.0 Exporter 1.06 high polygon problem

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
vitaliyfx
Gnoblar
Posts: 3
Joined: Wed Nov 23, 2005 5:23 pm

XSI5.0 Exporter 1.06 high polygon problem

Post 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!
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post 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.
vitaliyfx
Gnoblar
Posts: 3
Joined: Wed Nov 23, 2005 5:23 pm

Post 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).
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post 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]
vitaliyfx
Gnoblar
Posts: 3
Joined: Wed Nov 23, 2005 5:23 pm

Post by vitaliyfx »

Hi, Sinbad!
Thank You for new build of XSI exporter! 15x faster than last version - miracle of optimization :)
Post Reply