Re: Problems with MipMap-Level

New Message Reply Date view Thread view Subject view Author view

From: Ran Yakir (rany++at++netvision.net.il)
Date: 04/07/2000 04:49:22


I think you will have to create the mipmap levels yourself. I.e. disable the
GENERATE_MIPMAP flag of the pfTexture, and supply the mipmap levels with setLevel.
Creating them is fairly easy since every pixel of a certain level=n is an average
of 4 pixels in level=(n-1)

Ran

Marc Hehmeyer wrote:

> Hello all,
>
> so how can i manipulate the different Levels of a texture-mipmap?
> I want to change the alpha-components.
>
> bye
> Marc
>
> Ran Yakir wrote:
>
> > I think that you can use getLevel only if you set the levels implicitly with
> > setLevel
> >
> > Ran
> >
> > Marc Hehmeyer wrote:
> >
> > > Hey folks,
> > >
> > > I have problems, with getting the different levels of a texture-mipmap.
> > > The command "getLevel" of pfTexture returns always NULL, although the
> > > texture has
> > > a mipmap. Maybe one of you can help me out there.
> > >
> > > Thanks in advance,
> > >
> > > Marc
> > >
> > > --
> > > +----------------------------------------------------------------------+
> > > | Marc Hehmeyer | Phone +49/421/457-1896 |
> > > | STN-Atlas Elektronik | Fax +49/421/457-4120 |
> > > | Simulation Division | EMail hehmeyer++at++stn-atlas.de |
> > > | D-28305 Bremen | |
> > > +----------------------------------------------------------------------+
> > >
> > > -----------------------------------------------------------------------
> > > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > > Submissions: info-performer++at++sgi.com
> > > Admin. requests: info-performer-request++at++sgi.com
> >
> > --
> > __ | Ran Yakir
> > /_) _ __ \ / _ / o __ | RT-SET Ltd.
> > / )_ (_(_) ) \/ (_(_/<_(_)( |
> > _/ |
> > -------------------------------------+--------------------------------
> > Phone : | E-mail : rany++at++rtset.com
> > Work : 972-9-9552236 Ext #118 | rany++at++netvision.net.il
> > Res. : 972-9-7489974 |
> > Cell.: 972-58-713040 |
> > Fax : 972-9-9552239 |
> >
> > http://rtset.co.il/rany
> >
> > -----------------------------------------------------------------------
> > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
>
> --
> +----------------------------------------------------------------------+
> | Marc Hehmeyer | Phone +49/421/457-1896 |
> | STN-Atlas Elektronik | Fax +49/421/457-4120 |
> | Simulation Division | EMail hehmeyer++at++stn-atlas.de |
> | D-28305 Bremen | |
> +----------------------------------------------------------------------+
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

--
 __                                  | Ran Yakir
 /_)  _  __   \  / _   / o __        | RT-SET Ltd.
/ )_ (_(_) )   \/ (_(_/<_(_)(        |
              _/                     |
-------------------------------------+--------------------------------
Phone :                              | E-mail : rany++at++rtset.com
  Work : 972-9-9552236  Ext #118     |          rany++at++netvision.net.il
  Res. : 972-9-7489974               |
  Cell.: 972-58-713040               |
Fax    : 972-9-9552239               |

http://rtset.co.il/rany


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 04:41:48 PDT

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