From: Ulrich Hertlein (u.hertlein++at++bit-side.com)
Date: 09/14/2001 01:27:39
> Hsu-hua Chen wrote:
> I was wondering if anyone has done something like a slideshow in
> performer. I am trying to make a slideshow out of a series of images
> (jpegs, gifs, tiffs...). Any ideas? So far I've converted images to
> rgb format and scaled it to the power of 2. I was able to load up and
> see one image but now i want to load a series of images as in a
> slideshow. I am working on the pfsetTravFunc(PFTRAV_APP, app
> function), pfFrame( ), etc. Can anyone shed some suggestions on how
> the above functions work? Or any other suggestions and or comments?
Why don't you convert the images to rgb (and identical size for all
images) offline, then convert them to a multi-image pfi using pficonv
and apply that to your texture? You can then select single frames with
pfTexture::setFrame().
-Ulrich
--
Ulrich Hertlein | phone:+49-30-394054-30
bit~side software gmbh | mailto:u.hertlein++at++bit-side.com
"Writing software is more fun than working."
This archive was generated by hypermail 2b29 : Fri Sep 14 2001 - 01:28:18 PDT