Jump to content


- - - - -

How 2 quickly calculate normals for deforming objects


  • You cannot reply to this topic
1 reply to this topic

#1 marek-knows.com

    Valued Member

  • Members
  • PipPipPip
  • 189 posts
  • LocationOntario, Canada

Posted 10 February 2006 - 02:11 PM

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?
3D OpenGL, C++ Game Development Video Tutorials @
www.marek-knows.com

#2 Ed Mack

    Senior Member

  • Members
  • PipPipPipPip
  • 1239 posts

Posted 10 February 2006 - 07:04 PM

Check out the code segments for 'Quick and Dirty normal calculation'





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users