Rendering bitmaps


Does anybody know how OpenGL converts real coordinates to pixels?

I have some 3D models with points’ coordinates lying in the cube -2.5 to 2.5 along each dimension (x,y,z) and I want to find the pixels of the bitmaps so that none of the models get off the bitmap!

Thanks for any help

Answer is: yes! :wink:

Check the utility function gluProject and read the OpenGL Programmer Guide (search for RedBook.pdf), Appendix F, Homogeneous Coordinates and Transformation Matrices

I have already downloaded the red book but, since being a beginner, I did not know where exactly to search. I think I will find it now.