From: Marcin Romaszewicz (marcin++at++sgi.com)
Date: 02/19/2002 13:37:43
The pfb loader doesn't do anything to color depth, but rather pfTexture
application at runtime does . pfTexture chooses the fastest possible
internal format when applying, which is often 16 bit per component. If you
want textures to use more color depth, the need to call
pfTexture::setFormat to set up the desired internal format. See the man
page for a descriprion of this function. Any OpenGL internal format token
is a valid parameter to that function, eg, GL_RGBA_8.
-- Marcin
On Tue, 19 Feb 2002, Marc Mendez wrote:
> pfHello,
>
> I ve noticed on several occasions that the PFB loaders was filtering the
> textures (RGB or RGBA formats) decreasing their color depth or something
> else reducing their quality.
>
> Has anyone faced that problem and found a solution/an idea to solve that
> ? I don t know how to implement a callback on a geometry file loading,
> maybe someone can help me ?
>
> pfSync();
> pfThanks();
> Marc.
>
>
> --
> Marc Mendez
> Silicon Worlds SA
>
> 12, rue de Chatillon
> 75014 Paris
> Tel : +33 (01) 53 90 11 13
> Fax : +33 (01) 53 90 11 12
>
>
>
> -----------------------------------------------------------------------
> 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
> -----------------------------------------------------------------------
>
This archive was generated by hypermail 2b29 : Tue Feb 19 2002 - 13:37:43 PST