Skip to main content
GameDev.net gamedev.net
🔒 Locked

draw distance

Started by OnANeedToKnow Jan 25, 2004 at 9:37 AM 2 replies 450+ views
Original Post
OnANeedToKnow
OnANeedToKnow
my program doesnt seem to draw very far into the distance. does anyone no how to control the distance that opengl stops drawing?
Enokh
Enokh
Somewhere you create your window and init OpenGL... There you have a function call to:

gluPerspective(A, B, C, D);

Look into that function

[edited by - Enokh on January 25, 2004 10:52:26 AM]
OnANeedToKnow
OnANeedToKnow
thats what i thought was the function i had to change but when i change the values, even to the extreme it does nothing
uber_n00b
uber_n00b
The last value in gluperspective is the draw distance.
My fellow Americans I have just signed legislation that outlaws Russia forever. Bombing will commence in five minutes.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.