(no subject)

New Message Reply Date view Thread view Subject view Author view

Don Burns (don_burns++at++peru.engr.sgi.com)
Wed, 18 Aug 1999 11:44:33 -0700 (PDT)


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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Aug 18 1999 - 11:44:40 PDT

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