Results 1 to 2 of 2

Thread: ugluPerspectivef: Parameter: how important zFar?

  1. #1

    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?

    Thanks!

    E.

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353
    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.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

Similar Threads

  1. Using the cl_context_properties parameter
    By riven609 in forum OpenCL
    Replies: 1
    Last Post: 07-21-2009, 11:27 AM
  2. glDrawTexiOES z parameter on mx31
    By akhil in forum OpenGL ES general technical discussions
    Replies: 4
    Last Post: 09-26-2007, 11:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •