Re: Near clipping plane/ Z fighting

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Fri, 23 Apr 1999 13:37:03 -0700


This is a z precision problem .

The answer is "it depends on your application and zbuffer precision".

You can use pfLayers to adjust the offset.

Look at the manual for pfLayer and glPolygonOffset.

Cheers,ANgus.

Tammy Martin wrote:
>
> Hi
> I was wondering if someone could give me some information
> about what is the optimal distance for the near clipping plane. I
> have an application where I draw ground tracks very near to the
> terrain, this causes a flickering to occur. However, I noticed that if I
> push the near clipping plane closer to the object the flickering will
> disappear. Our default near clipping plane is set to 5.0 feet. Is
> there some type of formula that will give the value you should set
> your near clipping plane to based on camera distance, FOV, etc?
> Is there a book or manual that describes these issues?
>
> Thank you.
>
> Tammy
> tmartin++at++metricsys.com
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
"Microsoft's system was like a forest that hadn't had a controlled
 burn in decades, just waiting for one person with a match to turn
 it into a disaster. Melissa was Microsoft's fault. They left their
 system wide open to this sort of abuse, they knew it could happen
 and did nothing." -- Bruce Perens

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Apr 23 1999 - 13:37:07 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.