vutle / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

readblend is slow, optimize it #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
reading larger .blend files is low. This is mainly due to excessive memory 
re-allocations, and linear 
searches. 

Re-write some of this, so the library is useable on iPhone, and for larger 
.blend files.

Original issue reported on code.google.com by erwin.coumans on 20 Oct 2009 at 12:31

GoogleCodeExporter commented 9 years ago
Latest trunks is already much faster. Read blend needs refactoring/cleanup 
though.

Original comment by erwin.coumans on 28 Oct 2009 at 2:24

GoogleCodeExporter commented 9 years ago

bParse is faster, as long as the .blend version matches the gamekit DNA 
revision, and 
the endian-ness and bits of the platform you run GameKit on are the same (32/64 
bits) 
as the platform used to create the .blend file.

SVN revision 100 uses Blender 2.49b DNA.

A bit more optimization is possible, but let's close it for now.

Original comment by erwin.coumans on 20 Nov 2009 at 11:44