Re: [info-performer] Texture Animation

Date view Thread view Subject view Author view

From: Ken Schwarz (kschwarz++at++sgi.com)
Date: 10/07/2003 16:03:14


Hey Francis!

pfFlux is the way to go. Check out the man page for the specifics, but
basically you want to build a pfGeoSet with your texture coordinates as
a pfFlux. For your setup you would just be incrementing the U
coordinate by 0.1 each time you decided to increment your animation
(assuming your images are arranged horizontally).

Best,

Ken

Govers, Francis wrote:

>Hi:
>
>I'm looking for a simple way to animate a single texture. I need to move
>the UV coordinates to make the texture move along the object (its a
>visualization of a comm link). my geometry is a simple rectangle with a UV
>map tiled 10 times along its length. I'd just like to grab the UV
>coordinates and increment them each frame by some small amount.
>
>Thanks.
>
>Francis X. Govers III
>MITL M&S Team
>Northrop Grumman
>310-930-3463
>fgovers++at++ngc.com
>
>-----------------------------------------------------------------------
> List Archives, Info, FAQ: 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
>-----------------------------------------------------------------------
>
>
>

-- 
 ...  Ken Schwarz Tech Consultant  SGI Dallas  kschwarz(AT)sgi.com  ...
....  Vmail: 972.628.3232 Pager: 888.986.8243 Mobile: 972.672.7278  ....
....               http://www.geocities.com/kenschwarz              ....
  ... Brain: Pinky, what rhymes with June?  Pinky: No it doesn't.  ...


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Oct 07 2003 - 16:03:28 PDT