Don Hatch (hatch++at++hell.engr.sgi.com)
Mon, 6 Apr 1998 16:11:12 -0700
> Well, I figured this one out. In my C code is used the pfuSetVirtualParams().
> The C++ man pages do not list an analogous function!
??
I don't think we have any such function...
do you mean pfApplyClipTextureVirtualParams()?
Neither this nor its C++ equivalent is in the man page :-(
Sorry, we blew it and didn't make man page entries for:
pfClipTexture::applyVirtualParams()
pfClipTexture::applyClipCenter()
Their purpose and functionality is analogous to those of:
pfTexture::applyMinLOD()
pfTexture::applyMaxLOD()
pfTexture::applyLODBias()
which are described in the pfTexture man page.
You'd use them if you want to change the parameters
multiple times per frame (like the .ct scene loader does).
Make sure you have read the following, which describes
how to use all of these functions and when you'd want to:
/usr/share/Performer/doc/clipmap/HowToDoVirtual.html
There is a C example in:
/usr/share/Performer/src/pguide/libpf/C/virtcliptex.c
Also, you already found the .ct loader source (which sets
the values multiple times per frame)-- there is
also the .spherepatch loader (which only sets the values once
per frame, using a simpler interface, if that works for you).
Don
--
Don Hatch hatch++at++sgi.com (415) 933-5150 Silicon Graphics, Inc.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:13 PDT