If your initial normals are correctly normalized you may also use
GL_RESCALE_NORMALS. This will rescale the normals instead of the more expensive
normalization that is done when GL_NORMALIZE is enabled.
--
Roland
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge
Lages
Sent: donderdag 20 november 2008 10:03
To: a.lagnier; OpenSceneGraph Users
Subject: Re: [osg-users] Normals and setScale
Hi,
Just make a search on GL_NORMALIZE on this list and you'll get your
answer. :)
On Thu, Nov 20, 2008 at 10:00 AM, a.lagnier <[EMAIL PROTECTED]> wrote:
Hi,
When I call setScale() on an pat. Its normals seem to be
affected. I want to keep normalization of normals. How can I solve this problem?
I will appreciate any hints.
Thanks you
Créez votre adresse <http://www.laposte.net> électronique
[EMAIL PROTECTED]
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Serge Lages
http://www.tharsis-software.com
This e-mail and its contents are subject to the DISCLAIMER at
http://www.tno.nl/disclaimer/email.html
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org