As I'm struggling with JME 2.0, I encountered a strange issue, while applying a continual rotation on my object, I can see different light applications which produce weird effects. Displaying the normals (thanks to the DebugGameState), it appears that the rotation is not applied to them :(
Rotation 1:

Rotation 2 (the rendering is quite different!):

Rotation 1 and normals:

Rotation 2 and normals:
1 commentaire:
My problem was the correct direction of some normals, after fliping them to "normal", the black faces just disappeared.
Regarding the intensity of the normals, it was due to a missing division (by 32767) required for .blend normal data.
Enregistrer un commentaire