Advertisement

Help My POOL game

Started by March 24, 2003 12:21 PM
3 comments, last by knealeaj 21 years, 11 months ago
Hi Guys I have recently started making a 3D pool game in OpenGL. I have a table and a cue that hits a ball round the table and the camera moves about the table. The trouble is making a room to surround the table. I have tried to draw Quads around the table but strange things happen. When I move the camera in certain positions the quads dissapear. Ive tried everything I can think of. Any suggestions would be appreciated Thanks Andy K
what kind of strange things happen ,your room is just a box around the table and when you move away from the table some triangles dissapear such as the back wall is this right



[edited by - gorvelius on March 24, 2003 2:01:33 PM]
Advertisement
Yeah thats exactly what happens.Any suggestions??
try changing the gluPerspective to this
where the 1000 is you probably have it set to 100
or something like that


gluPerspective(70.0f,1,0.1f,1000.0f);
Thanks Gorvelius

This topic is closed to new replies.

Advertisement