Re: Normalizing normals

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 06/07/2000 20:19:09


Well you could try and normalize the coordinates.

Failing this call

glEnable(GL_NORMALIZE)

in a draw callback.

turn off with

glDisable(GL_NORMALIZE)

Cheers,Angus.

Hans Palbøl wrote:
>
> Hi
>
> I've noticed a big difference in rendering (very dark rendering) across
> different hardware platforms when using a particular model. The model is
> scaled outside of Performer and seems to have made the normals
> non-normalized.
>
> Is there a way to force normalization of normals in Performer?
>
> Thanks,
> Hans
> --
> Hans Palbøl
>
> "Jeg tror nok, han benyttede sig af
> de vilde trækfugle til at slippe bort"
> ----------------------------------------------------
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 20:19:33 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.