Game Development Community

How do you flip (scale with a negative value) a mounted image?

by xen · in Torque Game Engine · 02/13/2006 (3:49 am) · 2 replies

I can flip it but the normals are left inside out! they seem to have been cached and flipping the geometry won't explicitly flip the normals..

#1
02/13/2006 (7:47 am)
That always happens when you get a negative-scaled axis: the normals will also be scaled negative. I don't think you can get around that without doing some changes in the source itself.
#2
02/14/2006 (6:02 am)
Oh. i get it. so i was flipping the normals too.. i have to search for the rendering of the geometry and flip only that.. altough i think the rendering is done as a glCallList or something.. what's that command? the one wherein it renders based on an array? i forgot..