*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/displacepolygon (3)              
Title
Content
Arch
Section
 

Contents


displacepolygon(3G)					   displacepolygon(3G)


NAME    [Toc]    [Back]

     displacepolygon - specifies a displacement	for the	z values of rendered
     polygons

C SPECIFICATION    [Toc]    [Back]

     void displacepolygon(float	scalefactor)

DESCRIPTION    [Toc]    [Back]

     displacepolygon offsets the z values of rendered pixels for polygons.
     The term scalefactor*max(abs(dz/dx),abs(dz/dy)) is	added to the z values
     of	rendered pixels, where dz/dx and dz/dy are the slopes of the triangle
     in	window coordinates.  scalefactor is a signed float value.
     displacepolygon is	effectively disabled by	setting	scalefactor to 0.0,
     which is the default.

     displacepolygon is	recommended when rendering a z buffer that is later
     defined (see texdef) as a texture for generating shadows.	It can also be
     used to offset polygons so	that lines drawn around	their borders do not
     intersect them.  This technique can be used to support hidden line
     drawing and outlined facets.

NOTES    [Toc]    [Back]

     IRIS-4D G,	GT, GTX, VGX, and VGXT models and the Personal Iris do not
     support this function.

SEE ALSO    [Toc]    [Back]

      
      
     texdef


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
msalpha IRIX specifies treatment of alpha values during multisample rendering
fudge IRIX specifies fudge values that are added to a graphics window
polysmooth IRIX specify antialiasing of polygons
polymode IRIX control the rendering of polygons
getbackface IRIX returns whether backfacing polygons will appear
concave IRIX allows the system to draw concave polygons
glfrontface IRIX define front- and back-facing polygons
glFrontFace Tru64 define front- and back-facing polygons
setpattern IRIX selects a pattern for filling polygons and rectangles
sphgnpolys IRIX return the number of polygons for the current set of sphere attributes.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service