I have a 2d app that I am changing to be 3d. Where I was previously using 2d orthographic view, I am now using gluPerspective and gluLookAt in my display routine. When I run it, I can see the original display briefly but it rapidly seems to get “sucked” into a “black hole” in the center of the screen. In other words, it appears to shrink till it dissapears entirely.
I was wondering if there is something obvious I am doing wrong in converting this app into 3d that is causing this behavior with the display?