I’ve been tinkering around with OpenGL in my spare time trying to figure it out, and I’m doing pretty well in understanding most of it, but for some reason or another perspective projections and viewing volumes and the like just aren’t clicking for me…
I think what I’m having troubles with is mainly the relationship between camera positioning (using gluLookAt) and how functions like gluPerspective() actually create a viewing volume…
Any pointers would be very helpful… thanks!
(P.S. I’m having very bizarre troubles with VC++ 6, for some reason or another, when I write two for-loops to iterate through a 2 dimensional array, only the inside loop iterates itself, the outside loop stays at 0, or at least that’s what the debugger would have me think, as far as i can tell there’s no coding errors, two for-loops should be simple enough,
for(int i = 0; i < 256; i++) {
for(int j = 0; j < 256; j++) {
bits[i][j] = ???;
}
}
thanks again for any insight)
—plucky