Archived

This topic is now archived and is closed to further replies.

LongJohn

how far can i see?

Recommended Posts

You change the last value in glPerspective,
for example:
glPerspective(45.0f, width/height, 0.1f, 500.0f);
now you can see 500 units into the screen

Happy coding :]


// Jonas Ericsson

Share this post


Link to post
Share on other sites
Becareful how large you set it, if you go to far your depth percision will drop very low and will have Issues, such as polygons bleeding though another one and the endges pulsing while you move.

Share this post


Link to post
Share on other sites