www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: nathan on May 02, 2013, 06:34:50 am

Title: Loader doesn't load 3DS normal vectors?
Post by: nathan on May 02, 2013, 06:34:50 am
When I load a 3DS model, it seems that you re-calculate normal vectors:

Quote
I/jPCT-AE ( 8492): Object Cube_jPCT6 hasn't been build yet. Forcing build()!
I/jPCT-AE ( 8492): Normal vectors calculated in 5ms!

Why?  Is there a way I can prevent the normals from being rebuilt? Or are the normals not exporting properly? (Blender 2.6 doesn't have an option to tick for normals)

Actually, I just tried the same with OBJ, with "export normals" ticked.  And checking the OBJ file, the normals are written there.  So, what is going on?  Why won't it keep the normals from the object?
Title: Re: Loader doesn't load 3DS normal vectors?
Post by: Thomas. on May 02, 2013, 11:58:50 am
3DS format does not support normals, so they have to be calculated again. If you want to load model with normals, you have to use OBJ format and set Config.useNormalsFromOBJ = true