HP Workstation zx2000 HP OpenGL Implementation Guide for HP-UX 11.X (IPF versi - Page 42
Alternatively, an implementation may choose to normalize the normal instead of rescaling - specs
View all HP Workstation zx2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 42 highlights
programming hints If rescaling is disabled, f is 1, otherwise f is computed as follows: Let mij denote the matrix element in row i and column j of M- 1 , numbering the topmost row of the matrix as row 1, and the left most column as column 1. Then Alternatively, an implementation may choose to normalize the normal instead of rescaling the normal. Then: If normalization is disabled, then the square root in the previous fully transformed normal equation is replaced with 1; otherwise, it is calculated as dictated by the OpenGL Spec. If both normalize and rescale are enabled, HP's implementation skips the rescale and does only the normalize. 5-8 OpenGL implementation guide
5–8
OpenGL implementation guide
programming hints
If rescaling is disabled, f is 1, otherwise f is computed as follows:
Let
m
ij
denote the matrix element in row
i
and column
j
of M
-1
, numbering the topmost row of
the matrix as row 1, and the left most column as column 1. Then
Alternatively, an implementation may choose to normalize the normal instead of rescaling the
normal. Then:
If normalization is disabled, then the square root in the previous fully transformed normal
equation is replaced with 1; otherwise, it is calculated as dictated by the OpenGL Spec. If both
normalize and rescale are enabled, HP’s implementation skips the rescale and does only the
normalize.