From: Brian Furtaw (brian++at++sgi.com)
Date: 06/01/2001 06:16:50
pfDecal is a libpr function which means it needs to called from within
the DRAW process. You could make your call in the pfChannel DRAW
callback right before you call pfDraw(). Make sure you pfOverride the
pfDecal value so it does not get changed during the draw traversal. As
in this example from the pfDecal man page,
Example 2:
/* Override decaling mode to PFDECAL_OFF */
pfDecal(PFDECAL_OFF);
pfOverride(PFSTATE_DECAL, PF_ON);
Brian
> Lucia Cappellato wrote:
>
> Hi,
>
> I see that somebody in the last years has just sent a similar request.
> The suggest is to use the
> pfDecal(PFCEDAL_BASE_HIGH_QUALITY) function.
>
> I attempt but the problem there is too.
>
> I work with a onyx2 R10000 and Performer 2.2. The problem is in a
> model flt that I load from a file and so it'sn't a node that I create
> with performer functions. I put the call to pfDecal before the
> application enters in the main (simulation) loop and after I load the
> model and I initialize channel and window.
>
> I find anywhere where is the best place to put this call.
>
> bye Lucia
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com)
Graphics Guru Office:(301)572-3293 Fax: (603)250-0370
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device
Drivers
-----------------------------------------------------------------------
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
This archive was generated by hypermail 2b29 : Fri Jun 01 2001 - 11:33:05 PDT