bscho (bscho++at++utah3d.com)
Mon, 29 Nov 1999 14:29:43 +0900
Recently I compiled a program with Performer 2.2.
The program was initially develped with Performer 2.1.
All works well under Performer 2.2 except that objects
with non-uniform scale applied seem to get normals scaled too.
I think that normals were not scaled in Perforemer 2.1.
To solve this, I inserted glEnable(GL_NORMALIZE) and
the normal scale problem disappeared. But calling the above
function has a performance penalty. Looking through the archive
messages, I found a discussion titled "pfSCS and normal" (05/98)
and one of replies saids that Performer 2.2 detects non-uniform
scale and turns on and off GL_NORMALZE automatically.
It certaninly doesn't seem to work in my case.
Do I need to install some patch or is there a function
that enables the above feature? Or should I be satisfied with the
above glEnable function?
Thanks in advance,
Byungsung Cho
bscho++at++utah3d.com
This archive was generated by hypermail 2.0b2 on Sun Nov 28 1999 - 21:29:17 PST