The MASM Forum Archive 2004 to 2012

Project Support Forums => OpenGL Forum => Topic started by: Farabi on August 23, 2005, 05:15:20 AM

Title: Make the screen depth more.
Post by: Farabi on August 23, 2005, 05:15:20 AM
I cannot see my object if it move front the camera. It looks ripped. How I can solve this?

Check the attachment to see the picture.

[attachment deleted by admin]
Title: Re: Make the screen depth more.
Post by: hitchhikr on August 23, 2005, 09:11:13 AM
Either you use glFrustum in your initialization code and you have to increase the value of zFar (the last argument) either you use gluPerspective  in your initialization code and you have to increase the value of zFar (the last argument too).
Title: Re: Make the screen depth more.
Post by: Farabi on August 25, 2005, 02:41:28 AM
What I should use for the parameter? real8 or double float?
Title: Re: Make the screen depth more.
Post by: hitchhikr on August 25, 2005, 04:00:05 AM
real8 & double are the same. In masm you use real8.