Microsoft SDK for Java

generateNormals

This method of the Direct3dRMMeshBuilder Class processes the Direct3dRMMeshBuilder object and generates vertex normals that are the average of each vertex's adjoining face normals.

Syntax

public void generateNormals();

Remarks

Averaging the normals of back-to-back faces produces a zero normal.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.