Hi,
I have written a 3DS (binary) file importer for my OpenGL based 3D engine. It works fine and is able to correctly import files containing multiple meshes. At the moment I am calculating my own vertex normals for the meshes. I would like to incorporate the smoothing group information into my vertex normal calculation code. Does anyone have any ideas as to how smoothing groups work? If someone could explain the general algorithm to me I would be much appreciated. I am using the 3DS code in the ATI GLSL SDK as a reference.
I have written a 3DS (binary) file importer for my OpenGL based 3D engine. It works fine and is able to correctly import files containing multiple meshes. At the moment I am calculating my own vertex normals for the meshes. I would like to incorporate the smoothing group information into my vertex normal calculation code. Does anyone have any ideas as to how smoothing groups work? If someone could explain the general algorithm to me I would be much appreciated. I am using the 3DS code in the ATI GLSL SDK as a reference.