I draw cube on the screen and it was visible while i had …
glOrtho(-5000.0, 5000.0, -5000.0, 5000.0, -5000.0, 5000.0);
Now I blocked ortho and want to play with glPerspective and I called it like this…
gluPerspective(100.0, 800.0 / 700.0,100,5000);
where 800 and 700 is my window size.I cant get anything on the screen no matter how i modify numbers in the glPerspective. This is all I get… (attachment)
Can anyone point me somewhere to get my lovely cube back on the screen with glPerspective.