Original Post
I hope this doesn't fall under the category "Kindergarten Math" but here goes :) I'm trying to scale a random triangle mesh which I've read from a file so that it fills the scene I draw it too. I'm using perspective projection and set the frustum like so: glFrustum(-1.0f, 1.0f, -1.0f, 1.0f, 2.4f, 30.0f); I've gone through all the vertices to figure out the max width, height and depth of a given mesh and been playing with those numbers, but to be honset I'm not entirely sure what I'm doing ;) Just so you know this is school related but since this is not the main focus of the excercise and its more math than graphics oriented I thought I'd cheat a bit (that's right professor!) ;) Feel free to be vague in your answers though if you think I'd benefit more from it :D