View Full Version : Model Size
06-13-2002, 01:20 PM
Does anyone know how to change the size and position of the model using nehe's tutorial for loading milkshape models? I know you can just change the camera position but that won't work because I want to use the model in my game as a character and it has to be a certain size and the position will change because it moves. If anyone knows an easy way to do this I would appreciate it a lot, or if not if there is any other way to load a model and change the position and size. Thanks for the help.
06-13-2002, 04:18 PM
Well, I dont see any simple and direct way to do this since the vertices and all data in a model are not variable in the sense that once the model is done, you can't simply take the model and make it bigger without the loss of detail... You could use milkshape to make all of the changes and what not...
You could simply use glScale or multiply every vertex by a size factor which is basically what glScale does... You will have bigger polygons and your model will look less detailed...
glScale( x, y, z );
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.