displacepolygon man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



displacepolygon(3G)					   displacepolygon(3G)

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

C SPECIFICATION
     void displacepolygon(float scalefactor)

DESCRIPTION
     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
     IRIS-4D G, GT, GTX, VGX, and VGXT models and the Personal Iris do not
     support this function.

SEE ALSO
     texdef

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net