ugluPerspectivef: Parameter: how important zFar?

ugluPerspectivef(45.0f, 1.0f * width / height, 1.0f, 100.0f); The last parameter is the zFar:
if I move my POV along the z direction, there is a point where the parameter zFar is important? A point that change the scene with error or something?



Anything that is further away than zFar will be clipped, i.e. not rendered. So if you set zFar to 100, all objects in your scene that are further away than 100 units from the POV will disappear.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.