Skip to main content
Tweeted twitter.com/StackGameDev/status/999416713056784390
edited tags
Link
user1430
user1430
minor grammar fixes
Source Link
Tetrad
  • 30.1k
  • 12
  • 96
  • 143

How do iI generate surface normals?

I have quite a few debug drawing methods in my engine that can generate geometry useful for debugging, like spheres and cubes.

At the moment I do not generate any normals for these shapes. Is there a general purpose method of generating face normals and per vertex normals for an arbitrary mesh?  (idI'd imagine you would need face normals to generate per vertex normals?)

How do i generate surface normals?

I have quite a few debug drawing methods in my engine that can generate geometry useful for debugging, like spheres and cubes.

At the moment I do not generate any normals for these shapes. Is there a general purpose method of generating face normals and per vertex normals for an arbitrary mesh?(id imagine you would need face normals to generate per vertex normals?)

How do I generate surface normals?

I have quite a few debug drawing methods in my engine that can generate geometry useful for debugging, like spheres and cubes.

At the moment I do not generate any normals for these shapes. Is there a general purpose method of generating face normals and per vertex normals for an arbitrary mesh?  (I'd imagine you would need face normals to generate per vertex normals?)

Source Link
Cubed2D
  • 2.1k
  • 18
  • 19

How do i generate surface normals?

I have quite a few debug drawing methods in my engine that can generate geometry useful for debugging, like spheres and cubes.

At the moment I do not generate any normals for these shapes. Is there a general purpose method of generating face normals and per vertex normals for an arbitrary mesh?(id imagine you would need face normals to generate per vertex normals?)