Hi, I asked how to find out how wide an object is in pixels, and somebody said that I should use gluProject, but I simply can’t work out how to use that.
// Set the clipping volume
gluLookAt(0, 1.75, 5,
that is my code in the change size function, and the object which pixel width I’m trying to find out looks like this: (it is an isometric tile)
glVertex3f(1 ,0 ,0.0f);
Can anybody explain to me how to use gluProject in this case or just tell me how to calculate the pixel width with another method?
PS. My program runs with glut full screen mode at 1024x768
[This message has been edited by elimin8tor (edited 02-16-2002).]