RE: [info-performer] drawing close and far objects with differing near far clip plains

Date view Thread view Subject view Author view

From: Gordon Tomlinson (gordon++at++gordon-tomlinson.com)
Date: 04/14/2005 12:16:32


HI

Uhmm See the Opengl FAQ

http://www.opengl.org/resources/faq/technical/polygonoffset.htm

On Polygon Offset and glDepthRange

This has worked for me in the past

Best Regards
 
Gordon
 ___________________________________

Gordon Tomlinson

Email : gordon++at++3dscenegraph.com
Yim/Aim : Gordon3dBrit
Msn Im : Gordon3dBrit++at++3dscenegraph.com
Forums : www.3dscenegraph.com/3dsceneBB

 

-----Original Message-----
From: owner-info-performer++at++performer.engr.sgi.com
[mailto:owner-info-performer++at++performer.engr.sgi.com] On Behalf Of
lberto++at++adelphia.net
Sent: Thursday, April 14, 2005 6:27 PM
To: info-performer++at++sgi.com
Subject: [info-performer] drawing close and far objects with differing near
far clip plains

I am trying to change the near far clipplane in an objects draw callback to
cut down on z fighting on objects far aw aye while maintaining close objects
rendering ability.
It seems that when I change the clip planes by setting the
chan->setNearFar() command, the channel says that the clip plains are set
appropriately but the close object dose not draw as expected.

My question is, is this leagle to do?
If so then why dose my close object draw as if the near clip plane in out to
far.
if Not then what is the correct way to draw near and far objects without z
fighting?

-----------------------------------------------------------------------
   List Archives, Info, FAQ: http://www.sgi.com/software/performer/
   Open Development Project: http://oss.sgi.com/projects/performer/
                Submissions: info-performer++at++sgi.com
            Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Apr 14 2005 - 12:16:48 PDT