Export split normals in OBJ, work on FBX

Hi,

So today I committed the “split normals” in OBJ exporter, now when you check « Include Normals » you will get split normals.

I also kept working on FBX – one can get nice gain with optimizations here… Right now (only basic vertices, faces [now polygons] and edges export done), with a default cube subdivided nine times (i.e. over 1.5 millions of vertices and faces), here are the stats I get:

With edges:

New code:
New verts: done in 4.237405 secs...
New polys: done in 3.605981 secs...
New edges: done in 3.249940 secs...
export finished in 14.5939 sec.

Old code:
Old verts: done in 5.774732 secs...
Old faces: done in 5.692272 secs...
Old edges: done in 9.272664 secs...
export finished in 28.4587 sec.

Without edges:

New code:
New verts: done in 4.237738 secs...
New polys: done in 3.707349 secs...
New edges: done in 0.000003 secs...
export finished in 11.5021 sec.Old code:
Old verts: done in 5.733048 secs...
Old faces: done in 4.810387 secs...
Old edges: done in 0.000004 secs...
export finished in 16.1231 sec.

Still quite a bunch of work to do here (not to mention binary export 😉 )…

Advertisements

One thought on “Export split normals in OBJ, work on FBX

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s