I’m trying to load an object file around 10 mega bytes, using the following code:
int flags = ObjectFile.TRIANGULATE | ObjectFile.STRIPIFY | ObjectFile.RESIZE;
ObjectFile f = new ObjectFile(flags, 0.0f);
Scene s = null;
try {
s = f.load(fname);
}
catch ........
The loading process is unbearably slow. Normally, for this 10 mega file, it takes around 30 seconds.
I’m just wondering if this is just the case for ObjectFile.load() ?? Or, is there anything wrong with my code?
Best Regards
JIA Pei