From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 12/15/2000 15:32:32
Performer does not automatically recompute your mipmap levels when you
subload new image data, so that's something you would have to do
yourself. Internally, pfTexture only calls gluBuild2DMipmaps, so it has no
way of doing only a partial recompute, you'll have to do that yourself.
-- Marcin
On Fri, 15 Dec 2000 kchan2++at++csc.com.au wrote:
> I have a pfTexture with MIPMap levels generated by performer. I retrieve
> and modify the pixel data using pfTexture::getImage. I download the
> modified areas using pfTexture::subload. I notice only the base level is
> subloaded. I have tried calling pfTexture::subloadLevel but the
> modifications didn't show up. I suspect the texture for the MIPMap levels
> need to be re-generated.
>
> Ideally, I would like to modify the texture on the fly and have the changes
> reflected in at least MIPmap level 0 - 2 without incurring the overhead of
> forcing the download of the entire texture every frame using
> pfTexture::setImage or having to modify the MIPMap texture for level 1 and
> 2 myself. Any suggestion is appreciated.
>
> I have also tried calling pfTexture::format followed by
> pfTexture::loadLevel without success.
>
> Platform Details:
> IRIX performer 2.2.8
> open GL
> Onyx 2 IR2
>
> Cheers
> Kenneth Chan
> __________________________________________________
>
> CSC
> 460 Pacific Hwy St Leonards NSW 2065
> Ph: +61 2 9901 1165 Mobile: 0413 04 34 74 (+61 413 043474) Fax: +61 2
> 9901 1110
> Email: kchan2++at++csc.com.au
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: 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 : Fri Dec 15 2000 - 15:32:35 PST