www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: gpsunjp on June 16, 2006, 11:05:14 am

Title: Is the normal considered when rendering?
Post by: gpsunjp on June 16, 2006, 11:05:14 am
Hello

Is the vertex's normal of a facet considered while rendering?
I did not find a method to set normal of each vertex of triangles.

Sun
Title: Re: Is the normal considered when rendering?
Post by: EgonOlsen on June 16, 2006, 01:07:05 pm
Quote from: "gpsunjp"
Is the vertex's normal of a facet considered while rendering?
Of course they are. There is no obvious method to set them directly, because you usually don't have to care about them. They are calculated internally when calling build(). If you really want to modify them, you may do this by extending the GenericVertexController.