Author Topic: Loader doesn't load 3DS normal vectors?  (Read 1104 times)

Offline nathan

  • byte
  • *
  • Posts: 15
    • View Profile
Loader doesn't load 3DS normal vectors?
« on: May 02, 2013, 06:34:50 am »
When I load a 3DS model, it seems that you re-calculate normal vectors:

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?

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Loader doesn't load 3DS normal vectors?
« Reply #1 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