PDA

View Full Version : How 2 quickly calculate normals for deforming objects


mmakrzem
02-10-2006, 07:11 AM
I generate a mesh using a 3D modeling program. It gives me all the points and normals for the static case.

Now in my program I would like to have the user deform my mesh when they press on it. This requires me to re-calculate the normals for the points that are touched.

Does anyone have suggestions on how I can quickly calculate all the normals for the points that get deformed. Are there any algorithms out there that can help me out?

Ed Mack
02-10-2006, 12:04 PM
Check out the code segments for 'Quick and Dirty normal calculation'