I have a vertex data of a model and I want to display the data in the window as a fit view. Can I make it more generalized for displaying any data sets. Let us take the follwing parameters:
- center of the model.
- the radius of the model
How do I call glFrustum in this case if the view position is default 0,0,0 and looking into the negative z axis.
If somebody has some routines to get that, I will be very glad to hear that.
Please help,
R.B