From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 04/05/2001 11:43:56
Performer textures don't let you specify a pixel transfer matrix for the
subload currently. What you could do is create a draw callback which sets
up the matrix correctly before subloading to your texture and then puts it
back to normal before calling pfDraw.
-- Marcin
On Thu, 5 Apr 2001, Raphael Grasset wrote:
>
>
> Hi,
>
> I've got an image in the YCrCb format in memory. I want it to become a
> texture. So I convert this image in RGBA format (with a personnal
> routine) and after that, I load it with the subload function of
> pfTexture.
> I would like to know if it iss possible to convert the image when I'm
> loading the texture? Is there something like the matrixcolor in OpenGl
> (for example)?
>
> Thank you.
>
> --
> __________________________________________________________________________
> Raphaël GRASSET | Doctorant (Phd Student) | iMAGIS-GRAVIR
> --------------------------------------------------------------------------
> raphael.grasset++at++imag.fr http://www-imagis.imag.fr/Membres/Raphael.Grasset
> Tel:+33(0)4.76.61.55.17 Fax:+33(0)4.76.61.54.40
> iMAGIS- Laboratoire GRAVIR INRIA Rhône-Alpes
> 655, avenue de l'Europe 38330 Saint-Ismier Cedex FRANCE
> __________________________________________________________________________
>
>
>
This archive was generated by hypermail 2b29 : Thu Apr 05 2001 - 11:43:59 PDT