View Full Version : glScalef() not working with glCallList?
06-09-2005, 12:04 AM
I have a model in a list which i display susing glcalllist function but as its too big i wanted to scale it down so i tried glscalef function but i got no effect its not possible to touch a compiled list then ???? i should either resize when im reading the data and passing to opengl or do it on the modeller ????
Are you sure you don't have any glLoadIdentity calls in your display list?
06-09-2005, 01:03 AM
Can you post your display list and the function that calls it?
06-09-2005, 05:39 AM
Call glScalef before drawing your object. use from the following code:
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.