Re: Flt files and Cliptextures with a dbase process

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Wed, 25 Feb 1998 16:29:46 -0800


On Feb 24, 11:58am, Scott Brabson wrote:
>In App process:
>before pfConfig call pfuInitClipCenterNode()

so are you using Performer 2.2MR? and you mean pfuInitClipCenterNodeClass()?

>Dbase process:
>1. Set the flt loader mode of PFFLT_TEX_MAP to 1 to ensure the texture
> is being mapped.

and your terrain faces have texture mapping palette indices right?

>2. Call pfuProcessClipTextures for the list of ClipTextures

there is no such function in Performer 2.2MR. do you mean

>When I move the pfuProcessClipTextures to the app in the post frame
>processing the cliptexture is updated and looks good.

so it is centering and mapped correctly?

>The problem is I
>am getting a warning stating the texgen node post app callback has a
>null cliptexture and I should call the pfuProcessClipTextures to attach
>the cliptextures to the pipe. This message is displayed every frame.

this message (from pfuProcessClipCenters) also says to call
pfuAddMPClipTexturesToPipes(). have you done this?

>Is there a way to load flt files containing cliptextures in the dbase
>process?

it should work ... once you get your function calls right. have a look at
perfly.c for confirmation on your code.

>Do I need to handle the Clip Center Node myself in the app process?

the clip textures can only be added to the pfPipe's in the APP process. that's
why there are 2ndary processing routines for the APP to call.

Regards.

--
+ Marcus Barnes, Technical Staff        mailto:marcus++at++multigen.com +
+ Multigen Inc.                         http://www.multigen.com    +
+ 550 S. Winchester Blvd.               phoneto:1-408-556-2654     +
+ Suite 500 San Jose CA 95128           faxto:1-408-261-4102       +
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:53 PDT

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