PDA

View Full Version : Updating Normals.



glAntony
11-02-2004, 03:09 PM
Hi,

I don't have a specific problem really, I'm just wondering what you guys feel is the fastest/most reliable way of keeping a mesh's normals updated (when a camera/moving entities are involved, and considering the engine uess vbos and display lists(selectable on a per entity basis), so seems a bit extreme to update them manually every frame.)

Without resorting to vertex shaders that is.

MikeC
11-02-2004, 04:17 PM
Huh? Unless your mesh is constantly deforming (e.g. character animation), why would you need to update normals at all? You certainly don't need to do so just for changes to the modelview matrix.

ZbuffeR
11-02-2004, 04:18 PM
You have only static moving objects and camera ? No need to change normals, they will be rotated/translated along with objects.

If you have actual mesh morphing/skinning, that means you must update your normals.