PDA

View Full Version : my view is black



Yoramo
12-23-2002, 12:24 AM
I have writen my first OpenGL program but I'm getting a black screen. I'm trying to to view my scene from a isometic perspective.

can any one guide me or point sites I can learn this subject.

thanks in advance.
Yoramo

12-23-2002, 01:45 AM
if your object is in 3D then specify and enable the depth. Check your window display function and make sure you are aiming the object.

1.if you are using gluLookAt, check both position and aim.
2.if you are using gluPerspective check view angle, z limits.

check nehe's tutorials or goto to gametutorials.com

Hope the infos are useful

goodluck

Yoramo
12-23-2002, 06:25 AM
Thanks I will start with the tutorial.
do you have any other good resources?


Originally posted by pl:
if your object is in 3D then specify and enable the depth. Check your window display function and make sure you are aiming the object.

1.if you are using gluLookAt, check both position and aim.
2.if you are using gluPerspective check view angle, z limits.

check nehe's tutorials or goto to gametutorials.com

Hope the infos are useful

goodluck