(no subject)

New Message Reply Date view Thread view Subject view Author view

Braun, Tom (tom.braun++at++lmco.com)
Wed, 18 Aug 1999 15:46:41 -0400


Hello Don,

Thank you for your response. I actually do call UpdateWaveState in a
separate while loop after I have set everything up in my initialization
routine with MakeWaveState. Sorry that this was unclear.

Tom

-----Original Message-----
From: don_burns++at++peru.engr.sgi.com [mailto:don_burns++at++peru.engr.sgi.com]
Sent: Wednesday, August 18, 1999 2:45 PM
To: Braun, Tom; Performer (E-mail); allan++at++southpark.engr.sgi.com
Subject:

Tom,

>From your code snipet, you set a predraw and post draw callback for your
geode:

    geode->setTravFuncs(PFTRAV_DRAW, PreDrawPass, PostDrawPass);

but you never call UpdateWaveState(void), which is where your texture would
be
updated. Call this in your predraw callback.

You would, however, be better off using a list of pfTextures
(pfTexture::setList()), then calling pfTexture::setFrame() in an APP
callback
(rather than a DRAW callback). See
/usr/share/Performer/src/pguide/libpfutil/movie.c

-don
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/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 Wed Aug 18 1999 - 12:48:36 PDT

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