pfuCalcVirtualClipTexParams man page on IRIX

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



pfuCalcVirtualClipTexParams(3pf)

NAME
     pfuCalcVirtualClipTexParams - calculate parameters for virtual clip
     textures

FUNCTION SPECIFICATION
     #include <Performer/pfutil.h>

     void   pfuCalcVirtualClipTexParams(int nLevels, int clipSize,
	      int invalidBorder, float minLODTexPix, float minLODLoaded,
	      float maxLODLoaded, float bboxMinDist, float bboxMaxDist,
	      float tradeoff, const struct pfVirtualClipTexLimits *limits,
	      int *return_LODOffset, int *return_numEffectiveLevels,
	      float *return_minLOD, float *return_maxLOD);

DESCRIPTION
     pfuCalcVirtualClipTexParams attempts to calculate reasonable values for
     the four parameters LODOffset, numEffectiveLevels, minLOD, maxLOD which
     are need to be set per-frame or per-tile for virtual clip textures, given
     as much information as the caller can provide about the geometry of the
     scene or tile, the texture coordinate mapping, the current clip center of
     the clip texture, and the current eyepoint.

     For details on what the input parameters mean and a description of the
     algorithm, see the commented source code in
     /usr/share/Performer/src/lib/libpfutil/clipparams.C.

NOTES
     ClipTexture functionality is not supported under Linux.

     This function is specifically written to work around bugs and limitations
     inherent in virtual clip texturing on InfiniteReality graphics.  For a
     description of these bugs and limitations, see
     /usr/share/Performer/doc/clipmap/IRClipmapBugs.html or
     /usr/share/Performer/doc/clipmap/IRClipmapBugs.txt.  Because of this, the
     behavior of this function is intricate; if it seems to be doing something
     mystifying, you may have to trace through the commented source code to
     see what it is thinking.

     For examples of various uses of this function, see the sample source code
     for the .spherepatch and .ct scene loaders, and the virtcliptex sample
     program:
	  /usr/share/Performer/src/lib/libpfdb/libpfspherepatch/pfspherepatch.C
	  /usr/share/Performer/src/lib/libpfdb/libpfct/pfct.C
	  /usr/share/Performer/src/sample/pguide/libpf/C/virtcliptex.c

     For a general description of how to do virtual clip texturing, see
     /usr/share/Performer/doc/clipmap/HowToDoVirtual.html or
     /usr/share/Performer/doc/clipmap/HowToDoVirtual.txt.

     The libpfutil source code, object code and documentation are provided as
     unsupported software.  Routines are subject to change in future releases.

									Page 1

pfuCalcVirtualClipTexParams(3pf)

SEE ALSO
     pfClipTexture, pfMPClipTexture, pfuCalcTexDerivs,
     pfuCalcSizeFinestMipLOD, clipfly

									Page 2

[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