Skip to main content

Problems with NormalGenerator

No replies
paasiala
Offline
Joined: 2004-09-17

We're having a problem with normal generator. We have a simple geometry to which the normals are generated to a wrong direction. The normals are (0,1,0) when they should be (0,-1,0).

The face is in x,z plane and rotates counter clockwise when viewed from the direction of (0,-1,0). The face has one concave part, otherwise it is rectangle. When I remove the concave part, the normals are flipped to the correct orientation.

I created an issue for this (https://java3d.dev.java.net/issues/show_bug.cgi?id=621) that has sample Java class to duplicate the problem.

Regards,

Pasi