-
Normals in ASE files
I have loaded an ASE file sucessfully and viewed it as a wire frame however when I try and load the face and vertex normals for the mesh and light the scene only a handfull of the pannels are visable I made the assumption that the normals were in the same order and the xyz coordinates XZY I am not too good on lighting and would appreciate a simple add this to this function to put a light source in if there is such a thing avaliable
Thanks Simon
-
Member
Regular Contributor
Re: Normals in ASE files
I'm not an expert on the ASE format, but you can get face normals for flat shading by using the cross product of two edge vectors (you get the edge vectors by subtracting vertices). You can get vertex normals for smooth shading by averaging the normals of all faces sharing a vertex.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules