By applying the current 4x4 ModelView matrix to all vertices, I am able
to reconstitute my geometries no problem. But now I am trying to add in
the vertex normals to my output, and have a question:
does the entire 4x4 ModelView matrix get applied to the initial [u,v,w]
values for normals to produce the final [u,v,w] values? it would seem
that since normals are only directional, you might only want to apply
the Rotation (and possibly Scale) components of the ModelView matrix to
the normals.
Any thoughts?
thanks,
mike
No.
> it would seem
> that since normals are only directional, you might only want to apply
> the Rotation (and possibly Scale) components of the ModelView matrix to
> the normals.
>
Correct.
--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.
In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again. They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful. But it happens
every day. I cannot recall the last time something like
that happened in politics or religion.
- Carl Sagan, 1987 CSICOP keynote address