YassminAbdallah / iphonewavefrontloader

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

About the obj file size #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I download the project and the result is OK.

But I use the obj and mtl myself(obj file is 1.8MB, car.rar), then the program 
couldn't run correctly.

I check the program and found that the function initWithPath in the file 
OpenGLWaveFrontObject.m, there's limits for the dictionary while read face("f 
") data.

I also download the old version(wavefrontloader 1.0). The mtl file is analysed 
myself. The attached car.rar 3D module is OK. But if the obj file is too 
larger, such as 7.9MB(largecar.rar),the 3D module could be display, but it is 
distortion. It seems the faces couldn't be draw normally.

I wonder whether there's limmit for obj file size? Or there's provision for obj 
file's format, and so on..

Best Regards,
liet
2011.2.24

Original issue reported on code.google.com by liet_y...@sina.com on 24 Feb 2011 at 3:50

Attachments: