Sign in to follow this  
steg

Normals of a mesh

Recommended Posts

Hi all, If I have a mesh that doesn't have normal information, I guess I can use the D3DXComputeNormals function, but the mesh won't have the D3DFVF_NORMAL flag set. Could I just clone the mesh and add this flag to it before calling the D3DXComputeNormals method ? CloneMeshFVF(...) D3DXComputeNormals(...); Thanks, Steve

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this