Braun, Tom (tom.braun++at++lmco.com)
Wed, 18 Aug 1999 15:46:41 -0400
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
This archive was generated by hypermail 2.0b2 on Wed Aug 18 1999 - 12:48:36 PDT