Re: setLODRange

New Message Reply Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 07/26/2001 11:09:35


Chris when you call setLODRange it creates a pfTexLOD which the
pfTexture holds a pointer to so it can apply it in in the
pfTexture::apply(). pfTexLOD is a display listable libpr command. The
setLODRange() method looks like it is safe for the CULL process.

To change the pfTexLOD multiple times per frame you should not call
setLODRange() you should create multiple pfTexLOD's and add them to your
pfDispList before each addition/reference of the desired pfTexture. The
pfTexture::apply() will use the current pfTexLOD if you have not created
one with pfTexture::setLODRange().

Brian

"Dorosky, Christopher G" wrote:
>
> pfHelp();
>
> What process is the proper process to do a pfcliptexture (or
> pfmpcliptexture, or even pftexture) setLODRange?
> If I do it in the draw, is it too late for that frame?
>
> Is there a way to make it display listable in the cull?
>
> I have a precull process where I am doing some calculations, and it would be
> convenient to change the cliptexture lod range, multiple times per frame.
> I'm kinda tripping over the man pages figuring out how to do this.
>
> Any help is greatly appreciated.
>
> Thanks
>
> Christopher Dorosky
> Lead Electronic Systems Engineer - Real Time Simulation
> Lockheed Martin Missiles and Fire Control - Dallas
> christopher.g.dorosky++at++lmco.com
> 972-603-2349
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: 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

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Graphics Guru Office:(301)572-3293 Fax: (253)323-8182 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jul 26 2001 - 11:21:46 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.